소스 검색

Fix typo in test

Jordi Boggiano 10 년 전
부모
커밋
7b13507dd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Composer/Test/Util/StreamContextFactoryTest.php

+ 1 - 1
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);