Skip to content
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

Fix risky tests and deprecation warnings #68

Merged
merged 1 commit into from Apr 23, 2021

Conversation

derrabus
Copy link
Member

This PR fixes the two risky tests and should (hopefully) give us a green CI.

The two tests in question were added in symfony/symfony#9485. As far as I read the PR, the tests should ensure that no exception is thrown. But because they don't assert anything, modern PHPUnit versions would flag the tests as risky. I avoid this issue by bumping the asserion count at the end of each test.

@derrabus
Copy link
Member Author

cc @acrobat @stof

@derrabus
Copy link
Member Author

I will also try to fix the two deprecation warnings.

@derrabus derrabus changed the title Fix risky tests Fix risky tests and deprecation warnings Apr 23, 2021
@derrabus
Copy link
Member Author

And we're green! 🎉

@acrobat acrobat mentioned this pull request Apr 23, 2021
Co-authored-by: Jeroen Thora <jeroenthora@gmail.com>
@derrabus derrabus merged commit 3cbe1ef into symfony:main Apr 23, 2021
@derrabus derrabus deleted the bugfix/risky-tests branch April 23, 2021 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants