You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Controller "Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::bar" for URI "/" is not callable.'
116
+
'The controller for URI "/" is not callable. Expected method "bar" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest". Available methods: "publicAction", "staticAction"'
@@ -125,13 +125,13 @@ public function testGetControllerOnNonUndefinedFunction($controller, $message)
125
125
publicfunctiongetUndefinedControllers()
126
126
{
127
127
returnarray(
128
-
array('foo', 'Unable to find controller "foo".'),
129
-
array('foo::bar', 'Class "foo" does not exist.'),
130
-
array('stdClass', 'Unable to find controller "stdClass".'),
131
-
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::staticsAction', 'The controller for URI "/" is not callable. Expected method "staticsAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest", did you mean "staticAction"?'),
132
-
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::privateAction', 'The controller for URI "/" is not callable. Method "privateAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should not be private'),
133
-
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::protectedAction', 'The controller for URI "/" is not callable. Method "protectedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should not be protected'),
134
-
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::undefinedAction', 'The controller for URI "/" is not callable. Expected method "undefinedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest". Available methods: "publicAction", "staticAction"'),
128
+
array('foo', 'InvalidArgumentException', 'Unable to find controller "foo".'),
129
+
array('foo::bar', 'InvalidArgumentException', 'Class "foo" does not exist.'),
130
+
array('stdClass', 'InvalidArgumentException', 'Unable to find controller "stdClass".'),
131
+
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::staticsAction', 'InvalidArgumentException', 'The controller for URI "/" is not callable. Expected method "staticsAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest", did you mean "staticAction"?'),
132
+
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::privateAction', 'InvalidArgumentException', 'The controller for URI "/" is not callable. Method "privateAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should not be private'),
133
+
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::protectedAction', 'InvalidArgumentException', 'The controller for URI "/" is not callable. Method "protectedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should not be protected'),
134
+
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::undefinedAction', 'InvalidArgumentException', 'The controller for URI "/" is not callable. Expected method "undefinedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest". Available methods: "publicAction", "staticAction"'),
0 commit comments