Skip to content

Conversation

SjorsO
Copy link
Contributor

@SjorsO SjorsO commented Jan 17, 2019

When an api response has no errors, assertJsonValidationErrors will throw an ErrorException because it is trying to access the undefined index errors. This PR fixes that. It also changes the isTrue assertion to a more descriptive assertArrayHasKey assertion.

@taylorotwell taylorotwell merged commit 8ccb11d into laravel:5.7 Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants