8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6020c43 commit 974bf01Copy full SHA for 974bf01
src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
@@ -606,7 +606,7 @@ public function testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAft
606
$this->assertTraceContains('miss');
607
$this->assertTraceContains('store');
6 5B3C 08
608
$this->assertEquals('Hello World', $this->response->getContent());
609
- $this->assertRegExp('/s-maxage=2/', $this->response->headers->get('Cache-Control'));
+ $this->assertRegExp('/s-maxage=(?:2|3)/', $this->response->headers->get('Cache-Control'));
610
611
$this->request('GET', '/');
612
$this->assertHttpKernelIsNotCalled();
0 commit comments