We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20e338 commit 3b16343Copy full SHA for 3b16343
tests/ResponseTest.php
@@ -89,12 +89,18 @@ public function testErrorMethodNotAllowedStatusCodeIs405()
89
$this->assertSame(405, $response['status']);
90
}
91
92
- public function testErrorUnwillingToProcessStatusCodeIs405()
+ public function testErrorUnwillingToProcessStatusCodeIs431()
93
{
94
$response = $this->response->errorUnwillingToProcess();
95
$this->assertSame(431, $response['status']);
96
97
98
+ public function testErrorUnprocessableStatusCodeIs422()
99
+ {
100
+ $response = $this->response->errorUnprocessable();
101
+ $this->assertSame(422, $response['status']);
102
+ }
103
+
104
public function testWithItemReturnDataProperly()
105
106
$item = ['foo' => 'bar'];
0 commit comments