From 1d2a949e3e1467336cba5a1598b16070d69ebd33 Mon Sep 17 00:00:00 2001 From: AnrDaemon Date: Sat, 24 Dec 2016 03:19:50 +0300 Subject: [PATCH] Properly fix git excludes. Mindless copy-paste never gets old. Sorry. This is fixed proper this time. --- .../Composer/Test/Downloader/GitDownloaderTest.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tests/Composer/Test/Downloader/GitDownloaderTest.php b/tests/Composer/Test/Downloader/GitDownloaderTest.php index 688b9ceee..ad3cd6666 100644 --- a/tests/Composer/Test/Downloader/GitDownloaderTest.php +++ b/tests/Composer/Test/Downloader/GitDownloaderTest.php @@ -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(); }