[HttpKernel] Fix context dependent test
This commit is contained in:
parent
10882528a8
commit
065dee8525
|
@ -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',
|
||||
|
|
|
@ -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'),
|
||||
);
|
||||
|
|
Reference in New Issue