8000 minor #18979 [HttpKernel] Fix context dependent test (nicolas-grekas) · symfony/symfony@2e93849 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e93849

Browse files
minor #18979 [HttpKernel] Fix context dependent test (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [HttpKernel] Fix context dependent test | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Class `Foo` exists when the ClassLoader component is tested alongside with HttpKernel Commits ------- 065dee8 [HttpKernel] Fix context dependent test
2 parents 758c51d + 065dee8 commit 2e93849

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function getUndefinedControllers()
150150
{
151151
return array(
152152
array('foo', '\LogicException', 'Unable to parse the controller name "foo".'),
153-
array('foo::bar', '\InvalidArgumentException', 'Class "foo" does not exist.'),
153+
array('oof::bar', '\InvalidArgumentException', 'Class "oof" does not exist.'),
154154
array('stdClass', '\LogicException', 'Unable to parse the controller name "stdClass".'),
155155
array(
156156
'Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::bar',

src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function getUndefinedControllers()
127127
{
128128
return array(
129129
array('foo'),
130-
array('foo::bar'),
130+
array('oof::bar'),
131131
array('stdClass'),
132132
array('Symfony\Component\HttpKernel\Tests\Controller\ControllerResolverTest::bar'),
133133
);

0 commit comments

Comments
 (0)
0