소스 검색

Modernized unit test still depending on age old BC code.

Niels Keurentjes 9 년 전
부모
커밋
aa6b2e5b63
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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) {