Modernized unit test still depending on age old BC code.

main
Niels Keurentjes 9 years ago
parent 4fe063b2e5
commit aa6b2e5b63

@ -110,7 +110,8 @@ class ComposerRepositoryTest extends TestCase
$properties = array( $properties = array(
'cache' => $cache, 'cache' => $cache,
'loader' => new ArrayLoader(), 'loader' => new ArrayLoader(),
'providerListing' => array('p/a.json' => array('sha256' => 'xxx')), 'providerListing' => array('a' => array('sha256' => 'xxx')),
'providersUrl' => 'https://dummy.test.link/to/%package%/file',
); );
foreach ($properties as $property => $value) { foreach ($properties as $property => $value) {

Loading…
Cancel
Save