1
0
Fork 0

Properly fix git excludes.

Mindless copy-paste never gets old. Sorry. This is fixed proper this time.
pull/5992/head
AnrDaemon 2016-12-24 03:19:50 +03:00
parent 4896d16817
commit 1d2a949e3e
1 changed files with 2 additions and 11 deletions

View File

@ -25,19 +25,10 @@ class GitDownloaderTest extends TestCase
/** @var string */
private $workingDir;
private $skipped;
protected function initialize()
{
try {
$this->skipIfNotExecutable('git');
} catch (\PHPUnit_Framework_SkippedTestError $e) {
$this->skipped = 'This test needs a git binary in the PATH to be able to run';
}
}
protected function setUp()
{
$this->skipIfNotExecutable('git');
$this->fs = new Filesystem;
$this->workingDir = $this->getUniqueTmpDirectory();
}