diff --git a/tests/Functional/JsonLd.php b/tests/Functional/JsonLdTest.php similarity index 98% rename from tests/Functional/JsonLd.php rename to tests/Functional/JsonLdTest.php index da76c723e76..98abefaa3c3 100644 --- a/tests/Functional/JsonLd.php +++ b/tests/Functional/JsonLdTest.php @@ -19,7 +19,7 @@ use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Tools\SchemaTool; -class JsonLd extends ApiTestCase +class JsonLdTest extends ApiTestCase { /** * The input DTO denormalizes an existing Doctrine entity. diff --git a/tests/Symfony/Routing/RouterTest.php b/tests/Symfony/Routing/RouterTest.php index 3ddfb0f8bae..404c9cc4a10 100644 --- a/tests/Symfony/Routing/RouterTest.php +++ b/tests/Symfony/Routing/RouterTest.php @@ -104,6 +104,7 @@ public function testMatchWithInvalidContext(): void $mockedRouter = $this->prophesize(RouterInterface::class); $mockedRouter->getContext()->willReturn($context)->shouldBeCalled(); + $mockedRouter->match('28-01-2018 10:10')->willReturn([]); $router = new Router($mockedRouter->reveal()); $router->match('28-01-2018 10:10');