We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840de52 commit a5d081dCopy full SHA for a5d081d
tests/HookCommandTest.php
@@ -24,7 +24,7 @@ public function it_tests_hooks_that_exist()
24
/**
25
* @test
26
*/
27
- public function it_not_continue_if_previous_hook_fail()
+ public function it_terminates_if_previous_hook_fails()
28
{
29
$hook = [
30
'pre-commit' => [
@@ -38,5 +38,6 @@ public function it_not_continue_if_previous_hook_fail()
38
39
$commandTester->execute([]);
40
$this->assertContains('execution-error', $commandTester->getDisplay());
41
+ $this->assertNotContains('before-commit', $commandTester->getDisplay());
42
}
43
0 commit comments