forked from loafle/openapi-generator-original
* replace removed forkMode * remove junit runner where it's not needed * update samples without skipping test files, but skip files named "FILES" * revert overwriting custom tests, add custom java tests to list * add one sample to CircleCI, fix various Java tests
18 lines
893 B
PowerShell
18 lines
893 B
PowerShell
#
|
|
# OpenAPI Petstore
|
|
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \
|
|
# Version: 1.0.0
|
|
# Generated by OpenAPI Generator: https://openapi-generator.tech
|
|
#
|
|
|
|
Describe -tag 'PSPetstore' -name 'PSUser' {
|
|
Context 'PSUser' {
|
|
It 'Initialize-PSUser' {
|
|
# a simple test to create an object
|
|
#$NewObject = Initialize-PSUser -Id "TEST_VALUE" -Username "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Password "TEST_VALUE" -Phone "TEST_VALUE" -UserStatus "TEST_VALUE" -ObjectWithNoDeclaredProps "TEST_VALUE" -ObjectWithNoDeclaredPropsNullable "TEST_VALUE" -AnyTypeProp "TEST_VALUE" -AnyTypePropNullable "TEST_VALUE"
|
|
#$NewObject | Should -BeOfType User
|
|
#$NewObject.property | Should -Be 0
|
|
}
|
|
}
|
|
}
|