diff --git a/core-bundle/tests/Crawl/Escargot/Subscriber/SearchIndexSubscriberTest.php b/core-bundle/tests/Crawl/Escargot/Subscriber/SearchIndexSubscriberTest.php index ac563095ef9..945b98563c5 100644 --- a/core-bundle/tests/Crawl/Escargot/Subscriber/SearchIndexSubscriberTest.php +++ b/core-bundle/tests/Crawl/Escargot/Subscriber/SearchIndexSubscriberTest.php @@ -470,6 +470,12 @@ private function getResponse(bool $asHtml, int $statusCode = 200): ResponseInter ->willReturn($statusCode) ; + $response + ->method('getInfo') + ->with('response_headers') + ->willReturn([]) + ; + return $response; }