diff --git a/src/Tests/Application/WebTest.php b/src/Tests/Application/WebTest.php index f02ffe1..6a7fee2 100644 --- a/src/Tests/Application/WebTest.php +++ b/src/Tests/Application/WebTest.php @@ -2,7 +2,6 @@ namespace Symlex\Tests\Application; -use Psr\Container\ContainerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symlex\Router\Web\ErrorRouter; @@ -13,7 +12,7 @@ * @author Michael Mayer * @license MIT */ -class SymfonyRouterTest extends UnitTestCase +class WebTest extends UnitTestCase { public function testHandle() { @@ -68,7 +67,7 @@ public function testHandleStaticController() /** @var Web $app */ $app = $container->get('app.web'); - $app->get('/foo/{id}', 'Symlex\Tests\Application\SymfonyRouterTest::callableMethod'); + $app->get('/foo/{id}', 'Symlex\Tests\Application\WebTest::callableMethod'); $request = Request::create('/foo/999', 'GET'); @@ -83,7 +82,7 @@ public function testHeadRequest() /** @var Web $app */ $app = $container->get('app.web'); - $app->get('/foo/{id}', 'Symlex\Tests\Application\SymfonyRouterTest::callableMethod'); + $app->get('/foo/{id}', 'Symlex\Tests\Application\WebTest::callableMethod'); $request = Request::create('/foo/999', 'HEAD');