瀏覽代碼

Fix repository test

Jordi Boggiano 12 年之前
父節點
當前提交
1e15edc43d
共有 1 個文件被更改,包括 2 次插入0 次删除
  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');