Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
PSR-7 does not have a StreamableInterface but a StreamInterface
  • Loading branch information
willdurand committed Aug 13, 2015
1 parent 6a7247f commit ff8e8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Geocoder/Tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function getMockAdapter($expects = null)
->expects($this->any())
->method('getBody')
->will($this->returnValue(
$this->getMock('Psr\Http\Message\StreamableInterface')
$this->getMock('Psr\Http\Message\StreamInterface')
));

$adapter = $this->getMock('Ivory\HttpAdapter\HttpAdapterInterface');
Expand All @@ -44,7 +44,7 @@ protected function getMockAdapter($expects = null)
*/
protected function getMockAdapterReturns($returnValue)
{
$body = $this->getMock('Psr\Http\Message\StreamableInterface');
$body = $this->getMock('Psr\Http\Message\StreamInterface');
$body
->expects($this->once())
->method('__toString')
Expand Down

0 comments on commit ff8e8bf

Please sign in to comment.