Skip to content

Commit

Permalink
Merge branch 'piotr-cz/bugfix/tests-undefined-property' into 4.x
Browse files Browse the repository at this point in the history
Closes #2854
  • Loading branch information
akrabat committed Oct 3, 2019
2 parents a24fac2 + 14b5c64 commit 1257d8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Mocks/RequestHandlerTest.php
Expand Up @@ -43,6 +43,9 @@ public function handle(ServerRequestInterface $request): ResponseInterface

public function custom(ServerRequestInterface $request): ResponseInterface
{
$psr7ObjectProvider = new PSR7ObjectProvider();
$responseFactory = $psr7ObjectProvider->getResponseFactory();

return $responseFactory->createResponse();
}
}

0 comments on commit 1257d8c

Please sign in to comment.