Skip to content

Commit

Permalink
Tests: Fix RequestsTest_Proxy_HTTP::testConnectWithInstance() to use …
Browse files Browse the repository at this point in the history
…an instance.
  • Loading branch information
ocean90 committed Jul 12, 2016
1 parent 8835773 commit 1c5455d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Proxy/HTTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testConnectWithInstance($transport) {
$this->checkProxyAvailable();

$options = array(
'proxy' => REQUESTS_HTTP_PROXY,
'proxy' => new Requests_Proxy_HTTP(REQUESTS_HTTP_PROXY),
'transport' => $transport,
);
$response = Requests::get(httpbin('/get'), array(), $options);
Expand Down Expand Up @@ -128,4 +128,4 @@ public function testConnectWithInvalidAuth($transport) {
$response = Requests::get(httpbin('/get'), array(), $options);
$this->assertEquals(407, $response->status_code);
}
}
}

0 comments on commit 1c5455d

Please sign in to comment.