Jordi Boggiano 9 年之前
父節點
當前提交
2f638c7d96
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      tests/Composer/Test/Downloader/GitDownloaderTest.php

+ 0 - 4
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));