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 be3c911 commit 2591153Copy full SHA for 2591153
Tests/HttpCache/HttpCacheTest.php
@@ -606,7 +606,7 @@ public function testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAft
606
$this->assertTraceContains('miss');
607
$this->assertTraceContains('store');
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