diff --git a/tests/Naneau/ProjectVersioner/Test/Reader/GitExecTest.php b/tests/Naneau/ProjectVersioner/Test/Reader/GitExecTest.php index 8eb7adc..0142527 100644 --- a/tests/Naneau/ProjectVersioner/Test/Reader/GitExecTest.php +++ b/tests/Naneau/ProjectVersioner/Test/Reader/GitExecTest.php @@ -61,7 +61,9 @@ public function setUp(): void self::execWithDir(['rm -rf %s', 'mkdir %s']); self::execInDir([ 'touch testfile', - 'git init' + 'git init', + 'git config user.email "php@unit.test"', + 'git config user.name "PHPUnit"' ]); // Add commits, with matching tags