Skip to content

Commit 59e3993

Browse files
committed
Don't emit "this test did not perform any assertions"
See https://phpunit.de/manual/current/en/risky-tests.html I'm using php 7.2.2, and phpunit 6.5.6 gets installed. I believe that the newer phpunit releases were stricter by default about tests that don't perform any assertions
1 parent 42fe00b commit 59e3993

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

phpunit.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<phpunit bootstrap="src/bootstrap.php">
1+
<phpunit bootstrap="src/bootstrap.php"
2+
beStrictAboutTestsThatDoNotTestAnything="false"
3+
>
24
<testsuites>
35
<testsuite name="invariants">
46
<!--

0 commit comments

Comments
 (0)