Skip to content

Commit 92ab8d3

Browse files
committed
let test fail if an expected exception is not thrown
1 parent f602d5c commit 92ab8d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Test/Constraint/ResponseStatusCodeSameTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,7 @@ public function testReducedVerbosity()
5454

5555
return;
5656
}
57+
58+
$this->fail();
5759
}
5860
}

0 commit comments

Comments
 (0)