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

74 lines
2.3 KiB
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 'PSPSUserApi' {
Context 'New-PSUser' {
It 'Test New-PSUser' {
#$TestResult = New-PSUser -User "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'New-PSUsersWithArrayInput' {
It 'Test New-PSUsersWithArrayInput' {
#$TestResult = New-PSUsersWithArrayInput -User "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'New-PSUsersWithListInput' {
It 'Test New-PSUsersWithListInput' {
#$TestResult = New-PSUsersWithListInput -User "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Remove-PSUser' {
It 'Test Remove-PSUser' {
#$TestResult = Remove-PSUser -Username "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Get-PSUserByName' {
It 'Test Get-PSUserByName' {
#$TestResult = Get-PSUserByName -Username "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Invoke-PSLoginUser' {
It 'Test Invoke-PSLoginUser' {
#$TestResult = Invoke-PSLoginUser -Username "TEST_VALUE" -Password "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Invoke-PSLogoutUser' {
It 'Test Invoke-PSLogoutUser' {
#$TestResult = Invoke-PSLogoutUser
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Update-PSUser' {
It 'Test Update-PSUser' {
#$TestResult = Update-PSUser -Username "TEST_VALUE" -User "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
}