@@ -34,6 +34,9 @@ |
||
| 34 | 34 | return $this->fakeResponseWithData($response, Json::encode(reset($response->getData()))); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $data |
|
| 39 | + */ |
|
| 37 | 40 | private function fakeResponseWithData(AbstractResponse $response, $data) |
| 38 | 41 | { |
| 39 | 42 | $newResponse = clone $response; |