diff --git a/tests/Composer/Test/Installer/LibraryInstallerTest.php b/tests/Composer/Test/Installer/LibraryInstallerTest.php index c5cb9d538..ed655f983 100644 --- a/tests/Composer/Test/Installer/LibraryInstallerTest.php +++ b/tests/Composer/Test/Installer/LibraryInstallerTest.php @@ -85,7 +85,7 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase $package = $this->createPackageMock(); $package - ->expects($this->exactly(2)) + ->expects($this->once()) ->method('getPrettyName') ->will($this->returnValue('some/package'));