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

Fixing risky tests #1371

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JimTools
Copy link

Making tests that have no assertions with the annotation to suppress phpunits warning around risky tests

closes #1370

Makring tests that have no assertions with the annotation to suppress
phpunits warning around risky tests

closes 1370
@JimTools
Copy link
Author

To be honest I don't think a lot of these tests bring value, for the most part, they just test the constructor works can get a new instance.

@makasim
Copy link
Member

makasim commented Jan 12, 2025

It seemed like a good idea at the time of writing (6-8 years ago). Now, I agree with you that such tests bring no value. If you want you can remove them.

To be honest I don't think a lot of these tests bring value, for the most part, they just test the constructor works can get a new instance.

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.

Fix risky unit tests
2 participants