We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d4db0 commit 24bb79bCopy full SHA for 24bb79b
template/tests/phpunit/GitTest.php
@@ -66,7 +66,7 @@ public function testGitPreCommitHook() {
66
// Commits must be executed inside of new project directory.
67
chdir($this->projectDirectory);
68
$prefix = $this->config['project']['prefix'];
69
- $command = "git commit --amend -m '$prefix-123: This is a good commit.' 2>&1";
+ $command = "git commit --dry-run --amend -m '$prefix-123: This is a good commit.' 2>&1";
70
$output = shell_exec($command);
71
$this->assertNotContains('PHP Code Sniffer was not found', $output);
72
$this->assertContains('Sniffing staged files via PHP Code Sniffer.', $output);
0 commit comments