Skip to content

Update unit_testing.rst #11198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2019
Merged

Update unit_testing.rst #11198

merged 1 commit into from
Mar 22, 2019

Conversation

favianioel
Copy link
Contributor

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 👍

@xabbuh xabbuh added this to the 4.2 milestone Mar 22, 2019
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 👍
@xabbuh xabbuh changed the base branch from 4.2 to 3.4 March 22, 2019 11:29
@xabbuh
Copy link
Member

xabbuh commented Mar 22, 2019

Thank you @favianioel.

@xabbuh xabbuh merged commit 3853c5b into symfony:3.4 Mar 22, 2019
xabbuh added a commit that referenced this pull request Mar 22, 2019
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #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.rst
@favianioel favianioel deleted the patch-1 branch March 22, 2019 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants