Fix transient tests
This commit is contained in:
parent
f83f950639
commit
987efdd620
@ -216,7 +216,7 @@ class ResponseCacheStrategyTest extends TestCase
|
|||||||
$cacheStrategy->add($embeddedResponse);
|
$cacheStrategy->add($embeddedResponse);
|
||||||
$cacheStrategy->update($masterResponse);
|
$cacheStrategy->update($masterResponse);
|
||||||
|
|
||||||
$this->assertSame('60', $masterResponse->headers->getCacheControlDirective('s-maxage'));
|
$this->assertEqualsWithDelta(60, (int) $masterResponse->headers->getCacheControlDirective('s-maxage'), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testResponseIsExpirableButNotValidateableWhenMasterResponseCombinesExpirationAndValidation()
|
public function testResponseIsExpirableButNotValidateableWhenMasterResponseCombinesExpirationAndValidation()
|
||||||
|
Reference in New Issue
Block a user