diff --git a/tests/Hydra/ApiDocumentationBuilderTest.php b/tests/Hydra/ApiDocumentationBuilderTest.php index 345ebc143bc..1cf6466aef0 100644 --- a/tests/Hydra/ApiDocumentationBuilderTest.php +++ b/tests/Hydra/ApiDocumentationBuilderTest.php @@ -61,7 +61,7 @@ public function testGetApiDocumention() $urlGenerator = $this->prophesize(UrlGeneratorInterface::class); $urlGenerator->generate('api_hydra_doc')->willReturn('/doc')->shouldBeCalled(1); - $urlGenerator->generate('api_hydra_entrypoint')->willReturn('/')->shouldBeCalled(1); + $urlGenerator->generate('api_entrypoint')->willReturn('/')->shouldBeCalled(1); $urlGenerator->generate('api_hydra_doc', [], UrlGeneratorInterface::ABS_URL)->willReturn('/doc')->shouldBeCalled(1);