소스 검색

Fix deps=high build

Jordi Boggiano 5 년 전
부모
커밋
de189c1b80
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/Composer/Test/Downloader/GitDownloaderTest.php

+ 1 - 0
tests/Composer/Test/Downloader/GitDownloaderTest.php

@@ -601,6 +601,7 @@ composer https://github.com/old/url (push)
         $process->execute($expectedFirstGitUpdateCommand, Argument::cetera())->willReturn(1)->shouldBeCalled();
         $process->execute($expectedSecondGitUpdateCommand, Argument::cetera())->willReturn(0)->shouldBeCalled();
         $process->execute($this->winCompat("git checkout 'ref' -- && git reset --hard 'ref' --"), null, $this->winCompat($this->workingDir))->willReturn(0)->shouldBeCalled();
+        $process->getErrorOutput()->willReturn('');
 
         $this->fs->ensureDirectoryExists($this->workingDir.'/.git');
         $downloader = $this->getDownloaderMock(null, new Config(), $process->reveal());