File tree 1 file changed +4
-4
lines changed
src/Symfony/Component/HttpClient/Tests
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -664,18 +664,18 @@ public function testHeadRequestWithClosureBody()
664
664
try {
665
665
$ client = $ this ->getHttpClient (__FUNCTION__ );
666
666
667
- $ response = $ client ->request ('HEAD ' , " http://localhost:8057/head " , [
667
+ $ response = $ client ->request ('HEAD ' , ' http://localhost:8057/head ' , [
668
668
'body ' => fn () => '' ,
669
669
]);
670
670
$ headers = $ response ->getHeaders ();
671
671
} finally {
672
672
$ p ->stop ();
673
673
}
674
674
675
- $ this ->assertArrayHasKey (" x-request-vars " , $ headers );
675
+ $ this ->assertArrayHasKey (' x-request-vars ' , $ headers );
676
676
677
- $ vars = json_decode ($ headers [" x-request-vars " ][0 ], true );
677
+ $ vars = json_decode ($ headers [' x-request-vars ' ][0 ], true );
678
678
$ this ->assertIsArray ($ vars );
679
- $ this ->assertSame (" HEAD " , $ vars [" REQUEST_METHOD " ]);
679
+ $ this ->assertSame (' HEAD ' , $ vars [' REQUEST_METHOD ' ]);
680
680
}
681
681
}
You can’t perform that action at this time.
0 commit comments