-
@khanalpride @taylorotwell Adding the expected validation error message is optional. You can just pass an simple array of keys to
assertSessionHasErrors. laravel.com/docs/8.x/http-tests#assert-session-has-errors
assertSessionHasErrors.
laravel.com/docs/8.x/http-tests#assert-session-has-errors