Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Fix missing tests for Zend\Http changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurian Sluiman committed Jun 30, 2012
1 parent 6e635ce commit 72e4c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function doRequest($request, $response = null)

$http = $this->getHttpClient();
$httpRequest = $http->getRequest();
if ($httpRequest->getUri() === null) {
if ($httpRequest->getUriString() === null) {
$http->setUri($this->_serverAddress);
}

Expand Down
2 changes: 1 addition & 1 deletion test/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public function testSettingNoHttpClientUriForcesClientToSetUri()
$this->xmlrpcClient->setHttpClient($this->httpClient);

$this->setServerResponseTo(array());
$this->assertNull($this->xmlrpcClient->getHttpClient()->getRequest()->getUri());
$this->assertNull($this->xmlrpcClient->getHttpClient()->getRequest()->getUriString());
$this->xmlrpcClient->call('foo');
$uri = $this->xmlrpcClient->getHttpClient()->getUri();

Expand Down

0 comments on commit 72e4c73

Please sign in to comment.