Skip to content

Commit 44db2d3

Browse files
committed
fix tests
1 parent 433e5bc commit 44db2d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ResponseTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public function testGetData()
8181
*/
8282
private function getMockedResponse($rawResponse)
8383
{
84-
$httpResponse = $this->getMockBuilder('\Psr\Http\Message\ResponseInterface')
85-
->setConstructorArgs([200, null, $rawResponse])
84+
$httpResponse = $this->getMockBuilder('\GuzzleHttp\Psr7\Response')
85+
->setConstructorArgs([200, [], $rawResponse])
8686
->getMock();
8787

8888
$httpResponse

0 commit comments

Comments
 (0)