Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function testGitDiffCommandFails(): void |
||
16 | { |
||
17 | $projectRoot = new ProjectRoot(__DIR__, __DIR__); |
||
18 | $gitCliWrapper = new GitCliWrapper(); |
||
19 | $nonExistantGitSha = new GitCommit('0000000000000000000000000000000000000000'); |
||
20 | $this->expectException(GitException::class); |
||
21 | $gitCliWrapper->getGitDiff($projectRoot, $nonExistantGitSha); |
||
22 | } |
||
32 |