Skip to content

Commit be69688

Browse files
committed
chore: symfony dev tests
1 parent f251ed1 commit be69688

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/Symfony/Routing/RouterTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,6 @@ public function testMatch(): void
9696
$this->assertEquals(['bar'], $router->match('/app_dev.php/foo'));
9797
}
9898

99-
public function testMatchWithInvalidContext(): void
100-
{
101-
$this->expectException(RoutingExceptionInterface::class);
102-
$this->expectExceptionMessage('Invalid request context.');
103-
$context = new RequestContext('/app_dev.php', 'GET', 'localhost', 'https');
104-
105-
$mockedRouter = $this->prophesize(RouterInterface::class);
106-
$mockedRouter->getContext()->willReturn($context)->shouldBeCalled();
107-
108-
$router = new Router($mockedRouter->reveal());
109-
$router->match('28-01-2018 10:10');
110-
}
111-
11299
public function testMatchDuplicatedBaseUrl(): void
113100
{
114101
$context = new RequestContext('/app', 'GET', 'localhost', 'https');

0 commit comments

Comments
 (0)