From e114875f0235c3408a7cfcc4661827fcba4379ca Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Sat, 4 Apr 2015 16:58:28 -0700 Subject: [PATCH] updated test --- .../objc/PetstoreClient/PetstoreClientTests/PetApiTest.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m b/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m index b7a3f064993c..7ad03afee1a1 100644 --- a/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m +++ b/samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m @@ -62,7 +62,7 @@ if(error) { XCTFail(@"got error %@", error); } - [api getPetByIdWithCompletionBlock:@1000 completionHandler:^(SWGPet *output, NSError *error) { + [api getPetByIdWithCompletionBlock:[pet _id] completionHandler:^(SWGPet *output, NSError *error) { if(error) { XCTFail(@"got error %@", error); }