Skip to content

Commit ff8e8bf

Browse files
committed
Fix test
PSR-7 does not have a StreamableInterface but a StreamInterface
1 parent 6a7247f commit ff8e8bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Geocoder/Tests/TestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function getMockAdapter($expects = null)
2626
->expects($this->any())
2727
->method('getBody')
2828
->will($this->returnValue(
29-
$this->getMock('Psr\Http\Message\StreamableInterface')
29+
$this->getMock('Psr\Http\Message\StreamInterface')
3030
));
3131

3232
$adapter = $this->getMock('Ivory\HttpAdapter\HttpAdapterInterface');
@@ -44,7 +44,7 @@ protected function getMockAdapter($expects = null)
4444
*/
4545
protected function getMockAdapterReturns($returnValue)
4646
{
47-
$body = $this->getMock('Psr\Http\Message\StreamableInterface');
47+
$body = $this->getMock('Psr\Http\Message\StreamInterface');
4848
$body
4949
->expects($this->once())
5050
->method('__toString')

0 commit comments

Comments
 (0)