I running tests using PHPUnit 9 and when I do an assertRegExp
I get a Warning
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.
How do I suppress the deprecation warning for the particular test?
Note: - I an using Laravel Dusk to run my test and I using the test helper assertPathIs
.
Aucun commentaire:
Enregistrer un commentaire