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 bea740a commit 17149d6Copy full SHA for 17149d6
src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
@@ -1107,7 +1107,8 @@ public function testEsiCacheForceValidation()
1107
$this->assertEquals('Hello World! My name is Bobby.', $this->response->getContent());
1108
$this->assertNull($this->response->getTtl());
1109
$this->assertTrue($this->response->mustRevalidate());
1110
- $this->assertTrue($this->response->headers->hasCacheControlDirective('private'));
+ $this->assertFalse($this->response->headers->hasCacheControlDirective('private'));
1111
+ $this->assertTrue($this->response->headers->hasCacheControlDirective('must-revalidate'));
1112
$this->assertTrue($this->response->headers->hasCacheControlDirective('no-cache'));
1113
}
1114
0 commit comments