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.6] Add additional methods for response status testing #23526

merged 1 commit into from Mar 13, 2018


None yet
2 participants

ottoszika commented Mar 13, 2018

This PR adds two methods to response testing:

  • assertNotFound
  • assertForbidden

I was asserting frequently by the status code, but with these two methods it would be more verbose.

@taylorotwell taylorotwell merged commit e997b8b into laravel:5.6 Mar 13, 2018

2 checks passed

continuous-integration/styleci/pr The StyleCI analysis has passed
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment