| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function testExecute(): void |
||
| 24 | { |
||
| 25 | $repo = new DummyRepo(); |
||
| 26 | $output = new NullOutput(); |
||
| 27 | $input = new ArrayInput( |
||
| 28 | [ |
||
| 29 | '--configuration' => CH_PATH_FILES . '/config/valid.json', |
||
| 30 | '--git-directory' => $repo->getGitDir(), |
||
| 31 | Hooks::ARG_PREVIOUS_HEAD => '3e76d8', |
||
| 32 | Hooks::ARG_NEW_HEAD => '7d9ac4', |
||
| 33 | Hooks::ARG_MODE => 'branch' |
||
| 34 | ] |
||
| 35 | ); |
||
| 36 | |||
| 37 | $cmd = new PostCheckout(new Resolver()); |
||
| 38 | $cmd->run($input, $output); |
||
| 39 | |||
| 40 | $this->assertTrue(true); |
||
| 41 | } |
||
| 43 |