From aa6b2e5b63ed425552155b6b75ed0fa111d113a4 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Mon, 15 Feb 2016 21:51:21 +0100 Subject: [PATCH] Modernized unit test still depending on age old BC code. --- tests/Composer/Test/Repository/ComposerRepositoryTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Composer/Test/Repository/ComposerRepositoryTest.php b/tests/Composer/Test/Repository/ComposerRepositoryTest.php index 3b35714df..115069441 100644 --- a/tests/Composer/Test/Repository/ComposerRepositoryTest.php +++ b/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) {