Skip to content

Commit a6a3766

Browse files
committed
Fix JsonMockResponse::fromFile is too recent
1 parent 0371bbf commit a6a3766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Icons/tests/Unit/IconifyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testFetchSvg(): void
127127
{
128128
$responseFile = __DIR__.'/../Fixtures/Iconify/icon.svg';
129129
$client = new MockHttpClient([
130-
JsonMockResponse::fromFile(__DIR__.'/../Fixtures/Iconify/collections.json'),
130+
MockResponse::fromFile(__DIR__.'/../Fixtures/Iconify/collections.json', ['response_headers' => ['content-type' => 'application/json']]),
131131
MockResponse::fromFile($responseFile),
132132
]);
133133
$iconify = new Iconify(new NullAdapter(), 'https://localhost', $client);

0 commit comments

Comments
 (0)