1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
This commit is contained in:
Jordi Boggiano 2015-09-28 10:51:14 +01:00
parent 96a8bc6c5b
commit ce08582671
86 changed files with 366 additions and 391 deletions

View file

@ -75,8 +75,8 @@ class ComposerRepositoryTest extends TestCase
array('foo/bar' => array(
'name' => 'foo/bar',
'versions' => array(
'1.0.0' => array('name' => 'foo/bar', 'version' => '1.0.0')
)
'1.0.0' => array('name' => 'foo/bar', 'version' => '1.0.0'),
),
)),
),
// New repository format
@ -110,7 +110,7 @@ class ComposerRepositoryTest extends TestCase
$properties = array(
'cache' => $cache,
'loader' => new ArrayLoader(),
'providerListing' => array('p/a.json' => array('sha256' => 'xxx'))
'providerListing' => array('p/a.json' => array('sha256' => 'xxx')),
);
foreach ($properties as $property => $value) {
@ -140,7 +140,7 @@ class ComposerRepositoryTest extends TestCase
'name' => 'a',
'version' => '0.6',
)),
)
),
)));
$pool = $this->getMock('Composer\DependencyResolver\Pool');