From 065dee8525e51091407221ece8a81424bb6bb0f0 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Jun 2016 14:20:11 +0200 Subject: [PATCH] [HttpKernel] Fix context dependent test --- .../FrameworkBundle/Tests/Controller/ControllerResolverTest.php | 2 +- .../HttpKernel/Tests/Controller/ControllerResolverTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php index b4dc8ada55..00ffa4c1fd 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php @@ -150,7 +150,7 @@ class ControllerResolverTest extends BaseControllerResolverTest { return array( array('foo', '\LogicException', 'Unable to parse the controller name "foo".'), - array('foo::bar', '\InvalidArgumentException', 'Class "foo" does not exist.'), + array('oof::bar', '\InvalidArgumentException', 'Class "oof" does not exist.'), array('stdClass', '\LogicException', 'Unable to parse the controller name "stdClass".'), array( 'Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::bar', diff --git a/src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php b/src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php index 7fc127e49b..101782e490 100644 --- a/src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php @@ -127,7 +127,7 @@ class ControllerResolverTest extends \PHPUnit_Framework_TestCase { return array( array('foo'), - array('foo::bar'), + array('oof::bar'), array('stdClass'), array('Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::bar'), );