mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
try to fix test instead of guarding implementation
This commit is contained in:
parent
7d67da3ffa
commit
873f17261c
4 changed files with 32 additions and 7 deletions
|
@ -118,6 +118,13 @@ class LockerTest extends \PHPUnit_Framework_TestCase
|
|||
->method('getVersion')
|
||||
->will($this->returnValue('0.1.10.0'));
|
||||
|
||||
foreach (array($package1, $package2) as $package) {
|
||||
$package
|
||||
->expects($this->atLeastOnce())
|
||||
->method('getTransportOptions')
|
||||
->will($this->returnValue(array()));
|
||||
}
|
||||
|
||||
$contentHash = md5(trim($jsonContent));
|
||||
|
||||
$json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue