Browse Source

Fix repository test

Jordi Boggiano 12 years ago
parent
commit
1e15edc43d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/Composer/Test/Repository/VcsRepositoryTest.php

+ 2 - 0
tests/Composer/Test/Repository/VcsRepositoryTest.php

@@ -55,6 +55,8 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
         };
 
         $exec('git init');
+        $exec('git config user.email composertest@example.org');
+        $exec('git config user.name ComposerTest');
         touch('foo');
         $exec('git add foo');
         $exec('git commit -m init');