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 12
12
namespace Symfony \Contracts \HttpClient \Test ;
13
13
14
14
use PHPUnit \Framework \Attributes \RequiresPhpExtension ;
15
- use PHPUnit \Framework \Attributes \TestWithJson ;
15
+ use PHPUnit \Framework \Attributes \TestWith ;
16
16
use PHPUnit \Framework \TestCase ;
17
17
use Symfony \Contracts \HttpClient \Exception \ClientExceptionInterface ;
18
18
use Symfony \Contracts \HttpClient \Exception \RedirectionExceptionInterface ;
@@ -347,8 +347,8 @@ public function test304()
347
347
* @testWith [[]]
348
348
* [["Content-Length: 7"]]
349
349
*/
350
- #[TestWithJson( ' [[]] ' )]
351
- #[TestWithJson( ' [[" Content-Length: 7"]] ' )]
350
+ #[TestWith( [[]])]
351
+ #[TestWith([[ ' Content-Length: 7 ' ]] )]
352
352
public function testRedirects (array $ headers = [])
353
353
{
354
354
$ client = $ this ->getHttpClient (__FUNCTION__ );
You can’t perform that action at this time.
0 commit comments