Browse Source

Fix tests

Jordi Boggiano 5 năm trước cách đây
mục cha
commit
e1f1002295
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/Packagist/WebBundle/Tests/Package/UpdaterTest.php

+ 0 - 1
src/Packagist/WebBundle/Tests/Package/UpdaterTest.php

@@ -58,7 +58,6 @@ class UpdaterTest extends TestCase
 
         $registryMock->expects($this->any())->method('getManager')->willReturn($emMock);
         $registryMock->expects($this->at(1))->method('getRepository')->with('PackagistWebBundle:Version')->willReturn($versionRepoMock);
-        $registryMock->expects($this->at(3))->method('getRepository')->with('PackagistWebBundle:Author')->willReturn($authorRepoMock);
         $this->repositoryMock->expects($this->any())->method('getPackages')->willReturn([
             $packageMock
         ]);