Skip to content

Conversation

@sebastiandedeyne
Copy link
Contributor

By throwing an exception for failed assertions, tests that only expect events or dispatched jobs will be considered risky under PHPUnit's --report-useless-tests.

This PR replaces the exceptions with PHPUnit assertions for PHPUnit knows that an assertion did take place.

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.

2 participants