Fix typo in test
parent
4a6503fe36
commit
7b13507dd4
|
@ -146,7 +146,7 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
|
||||||
public function testHttpsProxyOverride()
|
public function testHttpsProxyOverride()
|
||||||
{
|
{
|
||||||
$_SERVER['http_proxy'] = 'http://username:password@proxyserver.net';
|
$_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')));
|
$context = StreamContextFactory::getContext('https://example.org', array('http' => array('method' => 'GET')));
|
||||||
$options = stream_context_get_options($context);
|
$options = stream_context_get_options($context);
|
||||||
|
|
Loading…
Reference in New Issue