Skip to content

Commit fec0278

Browse files
Fixed tests
1 parent e615938 commit fec0278

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ public function testObjectInFormData()
414414
$contents = $request->getBody()->getContents();
415415

416416
$this->assertBodyContents('name', $name, $contents);
417-
$this->assertBodyContents('photo_urls[0]', $photo_urls[0], $contents);
418-
$this->assertBodyContents('photo_urls[1]', $photo_urls[1], $contents);
417+
$this->assertBodyContents('photoUrls[0]', $photo_urls[0], $contents);
418+
$this->assertBodyContents('photoUrls[1]', $photo_urls[1], $contents);
419419
$this->assertBodyContents('category[id]', $category->getId(), $contents);
420420
$this->assertBodyContents('category[name]', $category->getName(), $contents);
421421
$this->assertBodyContents('tags[0][id]', $tags[0]->getId(), $contents);

0 commit comments

Comments
 (0)