We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac9522 commit 363073eCopy full SHA for 363073e
1 file changed
samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php
@@ -417,8 +417,8 @@ public function testObjectInFormData()
417
$contents = $request->getBody()->getContents();
418
419
$this->assertBodyContents('name', $name, $contents);
420
- $this->assertBodyContents('photoUrls[0]', $photo_urls[0], $contents);
421
- $this->assertBodyContents('photoUrls[1]', $photo_urls[1], $contents);
+ $this->assertBodyContents('photo_urls[0]', $photo_urls[0], $contents);
+ $this->assertBodyContents('photo_urls[1]', $photo_urls[1], $contents);
422
$this->assertBodyContents('category[id]', $category->getId(), $contents);
423
$this->assertBodyContents('category[name]', $category->getName(), $contents);
424
$this->assertBodyContents('tags[0][id]', $tags[0]->getId(), $contents);
0 commit comments