Browse Source

Modernized unit test still depending on age old BC code.

Niels Keurentjes 9 years ago
parent
commit
aa6b2e5b63
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/Composer/Test/Repository/ComposerRepositoryTest.php

+ 2 - 1
tests/Composer/Test/Repository/ComposerRepositoryTest.php

@@ -110,7 +110,8 @@ class ComposerRepositoryTest extends TestCase
         $properties = array(
             'cache' => $cache,
             '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) {