Commit 56069e1
committed
minor symfony#11198 Update unit_testing.rst (favianioel)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes symfony#11198).
Discussion
----------
Update unit_testing.rst
While following the tutorial changing the property from $controllerResolver to $resolver generated a bug because in previous example from httpkernel in the file the property was called like this
$controller = $this->controllerResolver->getController($request);
It is not a fix but it could help the people that follow the tutorial not get stuck 👍
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
3853c5b Update unit_testing.rst1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments