Skip to content

Commit 6a7dc25

Browse files
Merge branch '6.0' into 6.1
* 6.0: [HttpFoundation] Fix tests on PHP 8.2 (bis)
2 parents 8bd57d3 + 579a179 commit 6a7dc25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/ResponseFunctionalTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static function tearDownAfterClass(): void
4444
public function testCookie($fixture)
4545
{
4646
$result = file_get_contents(sprintf('http://localhost:8054/%s.php', $fixture));
47+
$result = preg_replace_callback('/expires=[^;]++/', function ($m) { return str_replace('-', ' ', $m[0]); }, $result);
4748
$this->assertStringMatchesFormatFile(__DIR__.sprintf('/Fixtures/response-functional/%s.expected', $fixture), $result);
4849
}
4950

0 commit comments

Comments
 (0)