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 e074101 commit 0996addCopy full SHA for 0996add
1 file changed
samples/client/petstore/php/OpenAPIClient-php/tests/PetApiTest.php
@@ -41,15 +41,12 @@ public static function setUpBeforeClass(): void
41
42
$newPet->setTags(array($tag));
43
$newPet->setCategory($category);
44
-
45
- $config = (new Configuration())->setHost('http://localhost/v2');
46
- $petApi = new Api\PetApi(null, $config);
47
48
}
49
50
public function setUp(): void
51
{
52
- $this->api = $petApi;
+ $config = (new Configuration())->setHost('http://localhost/v2');
+ $this->api = new Api\PetApi(null, $config);
53
54
55
public function testGetPetById()
0 commit comments