diff --git a/Tests/Installer/AssetInstallerTest.php b/Tests/Installer/AssetInstallerTest.php index 97e38e6a..a24d64c7 100644 --- a/Tests/Installer/AssetInstallerTest.php +++ b/Tests/Installer/AssetInstallerTest.php @@ -239,7 +239,6 @@ protected function createInstaller() protected function createRootPackageMock() { $package = $this->getMockBuilder('Composer\Package\RootPackageInterface') - ->setConstructorArgs(array(md5(mt_rand()), '1.0.0.0', '1.0.0')) ->getMock() ; diff --git a/Tests/Installer/BowerInstallerTest.php b/Tests/Installer/BowerInstallerTest.php index 986956af..58658bf1 100644 --- a/Tests/Installer/BowerInstallerTest.php +++ b/Tests/Installer/BowerInstallerTest.php @@ -525,7 +525,6 @@ protected function createPackageMock(array $ignoreFiles = array()) protected function createRootPackageMock(array $mainFiles = array()) { $package = $this->getMockBuilder('Composer\Package\RootPackageInterface') - ->setConstructorArgs(array(md5(mt_rand()), '1.0.0.0', '1.0.0')) ->getMock() ;