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 d6bc278 commit 5ae4bd1Copy full SHA for 5ae4bd1
spec/Handler/TagHandlerSpec.php
@@ -147,7 +147,7 @@ public function it_ignores_too_long_tag_header_and_reduces_ttl(Response $respons
147
$length += $tagLength;
148
}
149
$responseHeaderBag->getCacheControlDirective('s-maxage')->shouldBeCalled()->willReturn(500);
150
- $response->setSharedMaxAge(300)->shouldBeCalled();
+ $response->setSharedMaxAge(300)->shouldBeCalled()->willReturn($response);
151
$responseHeaderBag->set('xkey', Argument::exact($underLimitTags))->shouldBeCalled();
152
153
$this->addTags(explode(' ', $underLimitTags));
0 commit comments