You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
The way the unit tests make assertions to check behaviour is not very good. It relies on the phpunit configuration forcing a test to fail if it makes no assertions. It should instead bind a local variable to the closures by reference, modify it in the closure and assert it has changed. Or perhaps there is an even better way than that.
The text was updated successfully, but these errors were encountered:
The way the unit tests make assertions to check behaviour is not very good. It relies on the phpunit configuration forcing a test to fail if it makes no assertions. It should instead bind a local variable to the closures by reference, modify it in the closure and assert it has changed. Or perhaps there is an even better way than that.
The text was updated successfully, but these errors were encountered: