Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Feb 10, 2022
1 parent f6a9b91 commit 01f6129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function test_validation_errors_response()
$this->postJson('api/v1/register')
->assertStatus(422)
->assertJson([
// 'message' => 'The given data was invalid.',
// 'message' => 'The given data was invalid.', // Don't assert against message since Laravel 9.0 use new validation error message format.
'status_code' => 422,
'type' => 'ValidationException',
])
Expand Down

0 comments on commit 01f6129

Please sign in to comment.