Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-novakov committed Sep 24, 2013
1 parent e3e8dba commit c1c808d
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -14,7 +14,8 @@ public function testSetAuth()
$clientId = '123';
$secret = 'abc';

$authString = 'base64 string';
$authString = 'base64_string';
$authHeaderValue = 'Basic ' . $authString;

$authenticator = $this->getMockBuilder('InoOicClient\Client\Authenticator\SecretBasic')
->setMethods(array(
Expand All @@ -30,7 +31,7 @@ public function testSetAuth()
$headers = $this->getMock('Zend\Http\Headers');
$headers->expects($this->once())
->method('addHeaderLine')
->with('Authorization', $authString);
->with('Authorization', $authHeaderValue);

$httpRequest = $this->getMock('Zend\Http\Request');
$httpRequest->expects($this->once())
Expand Down

0 comments on commit c1c808d

Please sign in to comment.