diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php index cb81e1cf276c..41c471e951b8 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php @@ -6,6 +6,7 @@ use OpenAPI\Client\Model\ApiResponse; use OpenAPI\Client\Model\Pet; use PHPUnit\Framework\TestCase; +use PHPUnit\Framework\Assert; class PetApiTest extends TestCase { @@ -46,7 +47,7 @@ public static function setUpBeforeClass() // add a new pet (model) list(, $status) = $petApi->addPetWithHttpInfo($newPet); - \PHPUnit_Framework_Assert::assertEquals(200, $status); + Assert::assertEquals(200, $status); } public function setUp()