8000 [HttpKernel] fixed a volatile test · symfony/symfony@974bf01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 974bf01

Browse files
committed
[HttpKernel] fixed a volatile test
1 parent 6020c43 commit 974bf01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ public function testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAft
606606
$this->assertTraceContains('miss');
607607
$this->assertTraceContains('store');
6 5B3C 08608
$this->assertEquals('Hello World', $this->response->getContent());
609-
$this->assertRegExp('/s-maxage=2/', $this->response->headers->get('Cache-Control'));
609+
$this->assertRegExp('/s-maxage=(?:2|3)/', $this->response->headers->get('Cache-Control'));
610610

611611
$this->request('GET', '/');
612612
$this->assertHttpKernelIsNotCalled();

0 commit comments

Comments
 (0)
0