Browse Source

Fix tests

Jordi Boggiano 5 years ago
parent
commit
e1f1002295
1 changed files with 0 additions and 1 deletions
  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
         ]);