8000 let test fail if an expected exception is not thrown · symfony/symfony@0d52e74 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d52e74

Browse files
committed
let test fail if an expected exception is not thrown
1 parent 47b8cd6 commit 0d52e74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/HttpFoundation/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)
0