| 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 = ProjectRoot::fromCurrentWorkingDirectory(__DIR__); |
||
| 18 | $gitCliWrapper = new GitCliWrapper(); |
||
| 19 | $nonExistentGitSha = new GitCommit('0000000000000000000000000000000000000000'); |
||
| 20 | $this->expectException(GitException::class); |
||
| 21 | $gitCliWrapper->getGitDiff($projectRoot, $nonExistentGitSha); |
||
| 22 | } |
||
| 32 |