Skip to content

[5.6] Add additional methods for response status testing - #23526

Merged
taylorotwell merged 1 commit into
laravel:5.6from
ottoszika:test-response-assertions
Mar 13, 2018
Merged

[5.6] Add additional methods for response status testing#23526
taylorotwell merged 1 commit into
laravel:5.6from
ottoszika:test-response-assertions

Conversation

@ottoszika

Copy link
Copy Markdown
Contributor

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.

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