diff --git a/test/PHPGit/Exception/GitExceptionTest.php b/test/PHPGit/Exception/GitExceptionTest.php index 0bf1d12..154d6b9 100644 --- a/test/PHPGit/Exception/GitExceptionTest.php +++ b/test/PHPGit/Exception/GitExceptionTest.php @@ -9,6 +9,7 @@ class GitExceptionTest extends PHPUnit_Framework_TestCase public function testException() { $git = new Git(); + $git->setRepository(sys_get_temp_dir()); try { $git->status(); $this->fail('Previous operation should fail');