Skip to content

Commit

Permalink
Set git user for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mmie committed Aug 5, 2020
1 parent 2df8f51 commit 3139b34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Naneau/ProjectVersioner/Test/Reader/GitExecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"',
'git config user.name "PHPUnit"'
]);

// Add commits, with matching tags
Expand Down

0 comments on commit 3139b34

Please sign in to comment.