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 4312039 commit 63dfce8Copy full SHA for 63dfce8
tests/Unit/Api/AbstractApiTest.php
@@ -56,13 +56,7 @@ public function testGetLastResponseWithHttpClientWorks()
56
{
57
$client = $this->createMock(HttpClient::class);
58
59
- $api = new class ($client) extends AbstractApi {
60
- public function __construct($client)
61
- {
62
- parent::__construct($client);
63
- parent::get('200.json', false);
64
- }
65
- };
+ $api = new class ($client) extends AbstractApi {};
66
67
$method = new ReflectionMethod($api, 'getLastResponse');
68
$method->setAccessible(true);
0 commit comments