Skip to content

Commit 5ae4bd1

Browse files
committed
[Tests] Aligned TagHandlerSpec with Symfony 6
1 parent d6bc278 commit 5ae4bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Handler/TagHandlerSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function it_ignores_too_long_tag_header_and_reduces_ttl(Response $respons
147147
$length += $tagLength;
148148
}
149149
$responseHeaderBag->getCacheControlDirective('s-maxage')->shouldBeCalled()->willReturn(500);
150-
$response->setSharedMaxAge(300)->shouldBeCalled();
150+
$response->setSharedMaxAge(300)->shouldBeCalled()->willReturn($response);
151151
$responseHeaderBag->set('xkey', Argument::exact($underLimitTags))->shouldBeCalled();
152152

153153
$this->addTags(explode(' ', $underLimitTags));

0 commit comments

Comments
 (0)