From fba45ff53a51bf173471e6d046fc46f0cbaf89e3 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Wed, 13 Jun 2018 20:49:26 +0300 Subject: http service test + status test --- php-src/tests/http/echo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-src') diff --git a/php-src/tests/http/echo.php b/php-src/tests/http/echo.php index eeccc7e5..7004ada0 100644 --- a/php-src/tests/http/echo.php +++ b/php-src/tests/http/echo.php @@ -6,5 +6,5 @@ use \Psr\Http\Message\ResponseInterface; function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface { $resp->getBody()->write(strtoupper($req->getQueryParams()['hello'])); - return $resp; + return $resp->withStatus(201); } \ No newline at end of file -- cgit v1.2.3