8000 [FrameworkBundle] update argument value resolver pass tests by xabbuh · Pull Request #18590 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] update argument value resolver pass tests #18590

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
Apr 19, 2016

Conversation

xabbuh
Copy link
Member
@xabbuh xabbuh commented Apr 19, 2016
Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Make sure to have at least one assertion per test.

Make sure to have at least one assertion per test.
@linaori
Copy link
Contributor
linaori commented Apr 19, 2016

Ah that's a good check to have 👍

@xabbuh
Copy link
Member Author
xabbuh commented Apr 19, 2016

Well, I am actually not happy with this particular assertion, but every other assertion that came to my mind made even less sense.

@linaori
Copy link
Contributor
linaori commented Apr 19, 2016

Previously the only assertion was that nothing failed, so this is a better assertion than just that. At least you now check if it didn't get added anyway, despite not existing in the first place.

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit b8afa30 into symfony:master Apr 19, 2016
nicolas-grekas added a commit that referenced this pull request Apr 19, 2016
…sts (xabbuh)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[FrameworkBundle] update argument value resolver pass tests

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Make sure to have at least one assertion per test.

Commits
-------

b8afa30 update argument value resolver pass tests
@xabbuh xabbuh deleted the pr-18529 branch April 19, 2016 14:03
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.

4 participants
0