-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Remove failing test to fix #15935 #15943
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
Conversation
Fixes #15935, test has been removed on 2.8 already in https://github.com/symfony/symfony/pull/15738/files#diff-990df0e8238847f8ae54e8227f295c22L107
👍 |
@stof FYI |
Doesn't the failing test mean that a feature that worked before will break now? Sorry for the question but I am actually not sure what we are testing here at all. |
@xabbuh If it is a useful and well designed test, yes. In this particular case, the test loads translations from a fixture in Then, in a third step, it re-creates the Translator without adding the resource and switches to The problems with this are as follows:
Of course you may ask whether we shouldn't fix the test instead of removing it, but honestly I don't even understand what it actually tries to test for (that hasn't been covered elsewhere already). |
Thank you @mpdude. |
This PR was merged into the 2.7 branch. Discussion ---------- Remove failing test to fix #15935 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15935 | License | MIT | Doc PR | Test has been removed on 2.8 already in https://github.com/symfony/symfony/pull/15738/files#diff-990df0e8238847f8ae54e8227f295c22L107 Commits ------- 5392a0c Remove failing test
@mpdude Thank you for your detailed explanation. This makes the reasoning for removing the tests more clear. |
Test has been removed on 2.8 already in https://github.com/symfony/symfony/pull/15738/files#diff-990df0e8238847f8ae54e8227f295c22L107