diff --git a/tests/ResponseTest.php b/tests/ResponseTest.php index c8283b9..7076ca4 100644 --- a/tests/ResponseTest.php +++ b/tests/ResponseTest.php @@ -89,12 +89,18 @@ public function testErrorMethodNotAllowedStatusCodeIs405() $this->assertSame(405, $response['status']); } - public function testErrorUnwillingToProcessStatusCodeIs405() + public function testErrorUnwillingToProcessStatusCodeIs431() { $response = $this->response->errorUnwillingToProcess(); $this->assertSame(431, $response['status']); } + public function testErrorUnprocessableStatusCodeIs422() + { + $response = $this->response->errorUnprocessable(); + $this->assertSame(422, $response['status']); + } + public function testWithItemReturnDataProperly() { $item = ['foo' => 'bar'];