Skip to content

Commit

Permalink
Create response
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-cz committed Oct 1, 2019
1 parent a24fac2 commit 14b5c64
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 14b5c64

Please sign in to comment.