Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 15 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
22 | public function testExecute() |
||
23 | { |
||
24 | $run = new Run(); |
||
25 | $output = new DummyOutput(); |
||
26 | $input = new ArrayInput( |
||
27 | [ |
||
28 | 'hook' => 'pre-push', |
||
29 | '--configuration' => HMU_PATH_FILES . '/config/valid.json', |
||
30 | '--message' => HMU_PATH_FILES . '/git/message/valid.txt' |
||
31 | ] |
||
32 | ); |
||
33 | |||
34 | $run->setIO(new NullIO()); |
||
35 | $run->run($input, $output); |
||
36 | } |
||
37 | } |
||
38 |