-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Rename SymfonyRouterTest to WebTest
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> | ||
* @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'); | ||
|
||
|