File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Contracts/HttpClient/Test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212namespace Symfony \Contracts \HttpClient \Test ;
1313
1414use PHPUnit \Framework \Attributes \RequiresPhpExtension ;
15- use PHPUnit \Framework \Attributes \TestWithJson ;
15+ use PHPUnit \Framework \Attributes \TestWith ;
1616use PHPUnit \Framework \TestCase ;
1717use Symfony \Contracts \HttpClient \Exception \ClientExceptionInterface ;
1818use Symfony \Contracts \HttpClient \Exception \RedirectionExceptionInterface ;
@@ -347,8 +347,8 @@ public function test304()
347347 * @testWith [[]]
348348 * [["Content-Length: 7"]]
349349 */
350- #[TestWithJson( ' [[]] ' )]
351- #[TestWithJson( ' [[" Content-Length: 7"]] ' )]
350+ #[TestWith( [[]])]
351+ #[TestWith([[ ' Content-Length: 7 ' ]] )]
352352 public function testRedirects (array $ headers = [])
353353 {
354354 $ client = $ this ->getHttpClient (__FUNCTION__ );
You can’t perform that action at this time.
0 commit comments