From 2f638c7d96a69116b98799a49b54e2537ddc53e0 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 25 Feb 2016 21:16:48 +0000 Subject: [PATCH] Fix test --- tests/Composer/Test/Downloader/GitDownloaderTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/Composer/Test/Downloader/GitDownloaderTest.php b/tests/Composer/Test/Downloader/GitDownloaderTest.php index 80cce9e9a..e580d485c 100644 --- a/tests/Composer/Test/Downloader/GitDownloaderTest.php +++ b/tests/Composer/Test/Downloader/GitDownloaderTest.php @@ -399,10 +399,6 @@ class GitDownloaderTest extends TestCase ->with($this->equalTo($expectedSecondGitUpdateCommand)) ->will($this->returnValue(0)); $processExecutor->expects($this->at(11)) - ->method('execute') - ->with($this->equalTo('git branch -r')) - ->will($this->returnValue(0)); - $processExecutor->expects($this->at(13)) ->method('execute') ->with($this->equalTo($this->winCompat("git checkout 'ref' -- && git reset --hard 'ref' --")), $this->equalTo(null), $this->equalTo($this->winCompat($this->workingDir))) ->will($this->returnValue(0));