diff --git a/tests/DebugResponseTest.php b/tests/DebugResponseTest.php deleted file mode 100644 index 161b622..0000000 --- a/tests/DebugResponseTest.php +++ /dev/null @@ -1,45 +0,0 @@ - -// Date: 03/05/2018 -// Time: 12:33 -// Project: Psr7Responses -// -declare(strict_types=1); -namespace CodeInc\Psr7Responses\Tests; -use CodeInc\Psr7Responses\DebugResponse; - - -/** - * Class DebugResponseText - * - * @uses DebugResponse - * @package CodeInc\Psr7Responses\Tests - * @author Joan Fabrégat - * @license MIT - * @link https://github.com/CodeIncHQ/Psr7Responses - */ -class DebugResponseTest extends AbstractResponseTestCase -{ - public function test():void - { - $response = new DebugResponse(["test" => 1]); - self::assertIsResponse($response); - self::assertResponseStatusCode(200, $response); - self::assertResponseHasBody($response); - } -} \ No newline at end of file diff --git a/tests/ErrorResponseTest.php b/tests/ErrorResponseTest.php index 3161465..2b7851f 100644 --- a/tests/ErrorResponseTest.php +++ b/tests/ErrorResponseTest.php @@ -36,6 +36,9 @@ */ class ErrorResponseTest extends AbstractResponseTestCase { + /** + * @throws \ReflectionException + */ public function test():void { $response = new ErrorResponse(new FakeException('Test'));