Skip to content

Commit f119c2d

Browse files
committed
fix async test
1 parent 0996add commit f119c2d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class AsyncTest extends TestCase
1616

1717
public function setUp(): void
1818
{
19-
$this->api = new Api\PetApi();
19+
$config = (new Configuration())->setHost('http://localhost/v2');
20+
$this->api = new Api\PetApi(null, $config);
2021

2122
$this->petId = 10005;
2223
$pet = new Model\Pet;

0 commit comments

Comments
 (0)