Skip to content

Commit 798ee48

Browse files
committed
Add slash to putenv for proxy as it was before
1 parent 055068d commit 798ee48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lib/Elastica/Test/Transport/HttpTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function testUnicodeData()
138138

139139
public function testWithEnvironmentalProxy()
140140
{
141-
putenv('http_proxy=' . $this->_getProxyUrl());
141+
putenv('http_proxy=' . $this->_getProxyUrl() . '/');
142142

143143
$client = $this->_getClient();
144144
$transferInfo = $client->request('/_nodes')->getTransferInfo();
@@ -153,7 +153,7 @@ public function testWithEnvironmentalProxy()
153153

154154
public function testWithEnabledEnvironmentalProxy()
155155
{
156-
putenv('http_proxy=' . $this->_getProxyUrl());
156+
putenv('http_proxy=' . $this->_getProxyUrl() . '/');
157157

158158
$client = $this->_getClient();
159159

0 commit comments

Comments
 (0)