Fix integration tests to properly account for the rule position in the API
This commit is contained in:
parent
f293c73977
commit
1e19e02398
9 changed files with 14 additions and 13 deletions
|
@ -133,7 +133,7 @@ class ApiKeyControllerTest extends ClientApiIntegrationTestCase
|
|||
]);
|
||||
|
||||
$response->assertStatus(Response::HTTP_UNPROCESSABLE_ENTITY);
|
||||
$response->assertJsonPath('errors.0.code', 'required');
|
||||
$response->assertJsonPath('errors.0.meta.rule', 'required');
|
||||
$response->assertJsonPath('errors.0.detail', 'The description field is required.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue