We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed5dd6 commit 9a7ebcfCopy full SHA for 9a7ebcf
CHANGELOG.md
@@ -6,6 +6,7 @@
6
7
- Enable compiler optimization for the `sprintf` function.
8
- Avoid calls to spl_object_ methods when computing cache key.
9
+- Added SimpleMockedResponse to response of ResultMockFactory.
10
11
## 1.22.0
12
src/Test/ResultMockFactory.php
@@ -285,6 +285,10 @@ private static function getResponseObject(): Response
285
$property->setAccessible(true);
286
$property->setValue($response, true);
287
288
+ $property = $reflectionClass->getProperty('httpResponse');
289
+ $property->setAccessible(true);
290
+ $property->setValue($response, new SimpleMockedResponse());
291
+
292
return $response;
293
}
294
0 commit comments