From ff2f9de12892a8fa5339576f01e082d377f65206 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 11 Oct 2012 21:25:13 +0200 Subject: [PATCH] Fix tests --- tests/Composer/Test/ConfigTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Composer/Test/ConfigTest.php b/tests/Composer/Test/ConfigTest.php index dc950e20e..76acb288a 100644 --- a/tests/Composer/Test/ConfigTest.php +++ b/tests/Composer/Test/ConfigTest.php @@ -35,7 +35,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase $data = array(); $data['local config inherits system defaults'] = array( array( - 'packagist' => array('type' => 'composer', 'url' => 'http://packagist.org') + 'packagist' => array('type' => 'composer', 'url' => 'https?://packagist.org') ), array(), ); @@ -51,7 +51,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase array( 1 => array('type' => 'vcs', 'url' => 'git://github.com/composer/composer.git'), 0 => array('type' => 'pear', 'url' => 'http://pear.composer.org'), - 'packagist' => array('type' => 'composer', 'url' => 'http://packagist.org'), + 'packagist' => array('type' => 'composer', 'url' => 'https?://packagist.org'), ), array( array('type' => 'vcs', 'url' => 'git://github.com/composer/composer.git'), @@ -62,7 +62,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase $data['system config adds above core defaults'] = array( array( 'example.com' => array('type' => 'composer', 'url' => 'http://example.com'), - 'packagist' => array('type' => 'composer', 'url' => 'http://packagist.org') + 'packagist' => array('type' => 'composer', 'url' => 'https?://packagist.org') ), array(), array(