Skip to content
Permalink
Browse files

Fixed basic proxy test.

  • Loading branch information...
jrbasso committed Dec 15, 2010
1 parent 9940728 commit 575da672b0c81305eb22fe2ba46bd0d1a164a760
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/http/basic_authentication.test.php
@@ -53,13 +53,13 @@ public function testAuthentication() {
*/
public function testProxyAuthentication() {
$http = new HttpSocket();
$http->request['proxy'] = array(
$proxy = array(
'method' => 'Basic',
'user' => 'mark',
'pass' => 'secret'
);
BasicAuthentication::proxyAuthentication($http);
BasicAuthentication::proxyAuthentication($http, $proxy);
$this->assertEqual($http->request['header']['Proxy-Authorization'], 'Basic bWFyazpzZWNyZXQ=');
}

0 comments on commit 575da67

Please sign in to comment.
You can’t perform that action at this time.