From 7b13507dd4d3b93578af7d83fbf8be0ca686f4b5 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 11 Dec 2014 21:52:29 +0000 Subject: [PATCH] Fix typo in test --- tests/Composer/Test/Util/StreamContextFactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/Util/StreamContextFactoryTest.php b/tests/Composer/Test/Util/StreamContextFactoryTest.php index 83148bced..5003eb1ae 100644 --- a/tests/Composer/Test/Util/StreamContextFactoryTest.php +++ b/tests/Composer/Test/Util/StreamContextFactoryTest.php @@ -146,7 +146,7 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase public function testHttpsProxyOverride() { $_SERVER['http_proxy'] = 'http://username:password@proxyserver.net'; - $_SERVER['http_proxy'] = 'https://woopproxy.net'; + $_SERVER['https_proxy'] = 'https://woopproxy.net'; $context = StreamContextFactory::getContext('https://example.org', array('http' => array('method' => 'GET'))); $options = stream_context_get_options($context);