openapi-generator/samples/client/petstore/powershell/tests/Model/ObjectWithDeprecatedFields.Tests.ps1
martin-mfg d87a70dd93
update sample tests, fix Java tests (#20300)
* 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
2024-12-15 17:09:58 +08:00

18 lines
791 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 'PSObjectWithDeprecatedFields' {
Context 'PSObjectWithDeprecatedFields' {
It 'Initialize-PSObjectWithDeprecatedFields' {
# a simple test to create an object
#$NewObject = Initialize-PSObjectWithDeprecatedFields -Uuid "TEST_VALUE" -Id "TEST_VALUE" -DeprecatedRef "TEST_VALUE" -Bars "TEST_VALUE" -SomethingElse "TEST_VALUE"
#$NewObject | Should -BeOfType ObjectWithDeprecatedFields
#$NewObject.property | Should -Be 0
}
}
}