Skip to content

Commit 2e5c614

Browse files
committed
verify updatePetWithForm in go client
1 parent 6acf45a commit 2e5c614

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/client/petstore/go/pet_api_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ func TestUpdatePetWithForm(t *testing.T) {
8787
if r.StatusCode != 200 {
8888
t.Log(r)
8989
}
90+
91+
// get the pet id from server to verify the update
92+
isPetCorrect(t, 12830, "golang", "available")
9093
}
9194

9295
func TestFindPetsByTag(t *testing.T) {

0 commit comments

Comments
 (0)