William Cheng 6041acd225
[PowerShell] fix hardcode method name in test files (#6794)
* fix hardcode test

* update FILES
2020-06-28 10:49:16 +08:00

74 lines
2.3 KiB
PowerShell

#
# OpenAPI Petstore
# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
# Version: 1.0.0
# Generated by OpenAPI Generator: https://openapi-generator.tech
#
Describe -tag 'PSPetstore' -name 'PSPSPetApi' {
Context 'Add-PSPet' {
It 'Test Add-PSPet' {
#$TestResult = Add-PSPet -Pet "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Remove-Pet' {
It 'Test Remove-Pet' {
#$TestResult = Remove-Pet -PetId "TEST_VALUE" -ApiKey "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Find-PSPetsByStatus' {
It 'Test Find-PSPetsByStatus' {
#$TestResult = Find-PSPetsByStatus -Status "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Find-PSPetsByTags' {
It 'Test Find-PSPetsByTags' {
#$TestResult = Find-PSPetsByTags -Tags "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Get-PSPetById' {
It 'Test Get-PSPetById' {
#$TestResult = Get-PSPetById -PetId "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Update-PSPet' {
It 'Test Update-PSPet' {
#$TestResult = Update-PSPet -Pet "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Update-PSPetWithForm' {
It 'Test Update-PSPetWithForm' {
#$TestResult = Update-PSPetWithForm -PetId "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
Context 'Invoke-PSUploadFile' {
It 'Test Invoke-PSUploadFile' {
#$TestResult = Invoke-PSUploadFile -PetId "TEST_VALUE" -AdditionalMetadata "TEST_VALUE" -File "TEST_VALUE"
#$TestResult | Should -BeOfType TODO
#$TestResult.property | Should -Be 0
}
}
}