| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function testExecute(): void |
||
| 23 | { |
||
| 24 | $repo = new DummyRepo(); |
||
| 25 | $output = new NullOutput(); |
||
| 26 | $input = new ArrayInput( |
||
| 27 | [ |
||
| 28 | '--configuration' => CH_PATH_FILES . '/config/valid.json', |
||
| 29 | '--git-directory' => $repo->getGitDir(), |
||
| 30 | 'target' => 'master', |
||
| 31 | 'url' => 'origin' |
||
| 32 | ] |
||
| 33 | ); |
||
| 34 | |||
| 35 | $cmd = new PrePush(new Resolver()); |
||
| 36 | $cmd->run($input, $output); |
||
| 37 | |||
| 38 | $this->assertTrue(true); |
||
| 39 | } |
||
| 41 |