Completed
Push — master ( 0d30a7...716818 )
by Sebastian
25s queued 11s
created
tests/CaptainHook/Runner/Hook/PreCommitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
 
77 77
         // every action has to get executed
78 78
         $actionConfigFail->expects($this->atLeastOnce())
79
-                         ->method('getAction')
80
-                         ->willReturn(CH_PATH_FILES . '/bin/failure');
79
+                            ->method('getAction')
80
+                            ->willReturn(CH_PATH_FILES . '/bin/failure');
81 81
 
82 82
         // so even if the first actions fails this action has to get executed
83 83
         $actionConfigSuccess->expects($this->atLeastOnce())
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
 
87 87
         $hookConfig->expects($this->once())->method('isEnabled')->willReturn(true);
88 88
         $hookConfig->expects($this->once())
89
-                   ->method('getActions')
90
-                   ->willReturn([$actionConfigFail, $actionConfigSuccess]);
89
+                    ->method('getActions')
90
+                    ->willReturn([$actionConfigFail, $actionConfigSuccess]);
91 91
 
92 92
         $config->expects($this->once())->method('getHookConfig')->willReturn($hookConfig);
93 93
         $io->expects($this->atLeast(1))->method('write');
Please login to merge, or discard this patch.