Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PhpUnitBridge] Fix expectDeprecation() in isolation#37515
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[PhpUnitBridge] Fix expectDeprecation() in isolation#37515
Uh oh!
There was an error while loading.Please reload this page.
Conversation
alexpott commentedJul 7, 2020
The problem with the fix is that now the assertion count is wrong for tests not run in a separate process. For example: Before this change it was |
0e1e77a toc781eebComparealexpott commentedJul 7, 2020
Actually this has unearthed a significant but in the symfony expectDeprecation method in isolated tests - if you change the expectation to any value it'll still work because essentially the expectation is ignored. will happily pass. |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
thanks for working on this!
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bridge/PhpUnit/Legacy/ExpectDeprecationTraitBeforeV8_4.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bridge/PhpUnit/Legacy/ExpectDeprecationTraitForV8_4.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bridge/PhpUnit/FailTests/ExpectDeprecationTraitFailTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedJul 9, 2020
Thank you@alexpott. |
c6a5d7c toe7e2ee7Compare
Uh oh!
There was an error while loading.Please reload this page.
Tests like
will fail due to: