From dcccfa4b99aedca912719806ffe31013bfae07c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Mon, 18 Apr 2016 22:10:35 +0200 Subject: [PATCH] Fix class name in test cases --- .../petstore/php/SwaggerClient-php/tests/PetApiTest.php | 2 +- .../petstore/php/SwaggerClient-php/tests/StoreApiTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/client/petstore/php/SwaggerClient-php/tests/PetApiTest.php b/samples/client/petstore/php/SwaggerClient-php/tests/PetApiTest.php index ea6c307decd..4c4585632ae 100644 --- a/samples/client/petstore/php/SwaggerClient-php/tests/PetApiTest.php +++ b/samples/client/petstore/php/SwaggerClient-php/tests/PetApiTest.php @@ -343,7 +343,7 @@ class PetApiTest extends \PHPUnit_Framework_TestCase $config = new Swagger\Client\Configuration(); $config->setHost('http://petstore.swagger.io/v2'); $api_client = new Swagger\Client\APIClient($config); - $store_api = new Swagger\Client\Api\StoreAPI($api_client); + $store_api = new Swagger\Client\Api\StoreApi($api_client); // get inventory $get_response = $store_api->getInventory(); diff --git a/samples/client/petstore/php/SwaggerClient-php/tests/StoreApiTest.php b/samples/client/petstore/php/SwaggerClient-php/tests/StoreApiTest.php index 378fa5e7e19..7d7dcf3ede3 100644 --- a/samples/client/petstore/php/SwaggerClient-php/tests/StoreApiTest.php +++ b/samples/client/petstore/php/SwaggerClient-php/tests/StoreApiTest.php @@ -39,7 +39,7 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase // initialize the API client $config = (new Swagger\Client\Configuration())->setHost('http://petstore.swagger.io/v2'); $api_client = new Swagger\Client\ApiClient($config); - $store_api = new Swagger\Client\Api\StoreAPI($api_client); + $store_api = new Swagger\Client\Api\StoreApi($api_client); // get inventory $get_response = $store_api->getInventory(); @@ -57,7 +57,7 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase // initialize the API client //$config = (new Swagger\Client\Configuration())->setHost('http://petstore.swagger.io/v2'); $api_client = new Swagger\Client\ApiClient(); - $store_api = new Swagger\Client\Api\StoreAPI($api_client); + $store_api = new Swagger\Client\Api\StoreApi($api_client); // get inventory $get_response = $store_api->getInventoryInObject();