diff --git a/http-handler/TestRequest.php b/http-handler/TestRequest.php index 394d4316..577fb750 100644 --- a/http-handler/TestRequest.php +++ b/http-handler/TestRequest.php @@ -21,6 +21,11 @@ class TestRequest private ?ResponseEmitter $response = null; + public function __construct() + { + $this->response = new ResponseEmitter(); + } + /** * @param Request $request