File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,11 @@ public function testGetMetadata(): void
125
125
126
126
public function testFetchSvg (): void
127
127
{
128
- $ responseFile = __DIR__ .'/../Fixtures/Iconify/icon.svg ' ;
129
128
$ client = new MockHttpClient ([
130
- MockResponse::fromFile (__DIR__ .'/../Fixtures/Iconify/collections.json ' , ['response_headers ' => ['content-type ' => 'application/json ' ]]),
131
- MockResponse::fromFile ($ responseFile ),
129
+ new MockResponse (file_get_contents (__DIR__ .'/../Fixtures/Iconify/collections.json ' ), [
130
+ 'response_headers ' => ['content-type ' => 'application/json ' ]
131
+ ]),
132
+ new MockResponse (file_get_contents (__DIR__ .'/../Fixtures/Iconify/icon.svg ' )),
132
133
]);
133
134
$ iconify = new Iconify (new NullAdapter (), 'https://localhost ' , $ client );
134
135
You can’t perform that action at this time.
0 commit comments