We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fecfda commit 6eeca7fCopy full SHA for 6eeca7f
test/lib/Elastica/Test/Transport/HttpTest.php
@@ -153,7 +153,7 @@ public function testWithEnvironmentalProxy()
153
154
public function testWithEnabledEnvironmentalProxy()
155
{
156
- putenv('http_proxy=http://127.0.0.1:12346/');
+ putenv('http_proxy=' . $this->_getProxyUrl403() . '/');
157
$client = $this->_getClient();
158
$transferInfo = $client->request('/_nodes')->getTransferInfo();
159
$this->assertEquals(403, $transferInfo['http_code']);
0 commit comments