Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Fix see json to not throw an error #16350

Merged
merged 1 commit into from
Nov 11, 2016

Conversation

andrewmh
Copy link
Contributor

An error is thrown when seeJson is called on a response but the response
is not JSON. Instead, seeJson now fails the test with an explanation
that the response was not JSON.

An error is thrown when seeJson is called on a response but the response
is not JSON. Instead, seeJson now fails the test with an explanation
that the response was not JSON.
@GrahamCampbell GrahamCampbell changed the title Fix see json to not throw an error [5.3] Fix see json to not throw an error Nov 10, 2016
@taylorotwell taylorotwell merged commit 0a9e23a into laravel:5.3 Nov 11, 2016
ansidev pushed a commit to safestudio/mizu-core that referenced this pull request Nov 16, 2016
…el#16350)

An error is thrown when seeJson is called on a response but the response
is not JSON. Instead, seeJson now fails the test with an explanation
that the response was not JSON.
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.

None yet

2 participants