Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testRun() |
||
18 | { |
||
19 | $output = new NullOutput(); |
||
20 | $input = new ArrayInput([ |
||
21 | 'command' => 'run', |
||
22 | 'hook' => 'pre-push', |
||
23 | '--configuration' => HMU_PATH_FILES . DIRECTORY_SEPARATOR . 'config/valid.json' |
||
24 | ]); |
||
25 | $app = new Main(); |
||
26 | $app->setAutoExit(false); |
||
27 | $app->run($input, $output); |
||
28 | } |
||
29 | } |
||
30 |