[HttpKernel] Fix context dependent test

This commit is contained in:
Nicolas Grekas 2016-06-06 14:20:11 +02:00
parent 10882528a8
commit 065dee8525
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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'),
);