1
0
Fork 0
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:
Rob Bast 2016-11-25 08:28:49 +01:00
parent 7d67da3ffa
commit 873f17261c
No known key found for this signature in database
GPG key ID: 73076E35E6165F39
4 changed files with 32 additions and 7 deletions

View file

@ -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