Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve session errors assertions (#23055)
In the previous implementation of `TestResponse::assertSessionHasErrors` i found that was not possible to find errors that had an integer key. This was happening because if the assertion detected that the key was an integer, it was sending the error value to the `MessageBag::has` method, which was incorrect because that method uses the key to determine if there is any messages for it.
- Loading branch information