Skip to content

Commit

Permalink
Remove the mock builder arguments with interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Aug 8, 2019
1 parent 9dd0e63 commit f2eed0c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Tests/Installer/AssetInstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
;

Expand Down
1 change: 0 additions & 1 deletion Tests/Installer/BowerInstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
;

Expand Down

0 comments on commit f2eed0c

Please sign in to comment.