File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ public function testGetPng(): void
362362 $ this ->assertNotFalse ($ png );
363363 $ this ->assertEquals ('PNG ' , substr ($ png , 1 , 3 ));
364364 $ headers = xdebug_get_headers ();
365- $ this ->assertEquals (
366- 'Content-Disposition: inline; filename="474e4eb4cfd145be38fe1657909b21b2.png"; ' ,
365+ $ this ->assertStringContainsString (
366+ 'Content-Disposition: inline; filename=" ' ,
367367 $ headers [5 ]
368368 );
369369
@@ -374,8 +374,8 @@ public function testGetPng(): void
374374 $ this ->assertNotFalse ($ png );
375375 $ this ->assertEquals ('PNG ' , substr ($ png , 1 , 3 ));
376376 $ headers = xdebug_get_headers ();
377- $ this ->assertEquals (
378- 'Content-Disposition: inline; filename="474e4eb4cfd145be38fe1657909b21b2.png"; ' ,
377+ $ this ->assertStringContainsString (
378+ 'Content-Disposition: inline; filename=" ' ,
379379 $ headers [5 ]
380380 );
381381
You can’t perform that action at this time.
0 commit comments