1
0
Fork 0

Fix typo in test

pull/3523/merge
Jordi Boggiano 2014-12-11 21:52:29 +00:00
parent 4a6503fe36
commit 7b13507dd4
1 changed files with 1 additions and 1 deletions

View File

@ -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);