Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function testExecute(): void |
||
29 | { |
||
30 | $repo = new DummyRepo(); |
||
31 | $output = new NullOutput(); |
||
32 | $input = new ArrayInput( |
||
33 | [ |
||
34 | '--configuration' => CH_PATH_FILES . '/config/valid.json', |
||
35 | '--git-directory' => $repo->getGitDir(), |
||
36 | Hooks::ARG_MESSAGE_FILE => CH_PATH_FILES . '/git/message/valid.txt' |
||
37 | ] |
||
38 | ); |
||
39 | |||
40 | $cmd = new CommitMsg(new Resolver()); |
||
41 | $cmd->run($input, $output); |
||
42 | |||
43 | $this->assertTrue(true); |
||
44 | } |
||
46 |