Skip to content
This repository has been archived by the owner on Jan 30, 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 3e42957 commit 5088038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Server/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function doRequest($request)
$this->lastRequest = $request;

$httpRequest = $this->httpClient->getRequest();
if ($httpRequest->getUri() === null) {
if ($httpRequest->getUriString() === null) {
$this->httpClient->setUri($this->serverAddress);
}

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

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

Expand Down

0 comments on commit 5088038

Please sign in to comment.