From f2eed0cbf3730b5b09560e413e99da617d30fb85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Thu, 8 Aug 2019 16:12:32 +0200 Subject: [PATCH] Remove the mock builder arguments with interfaces --- Tests/Installer/AssetInstallerTest.php | 1 - Tests/Installer/BowerInstallerTest.php | 1 - 2 files changed, 2 deletions(-) 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() ;