Skip to content

Commit

Permalink
[5.7] Add assertSessionDoesntHaveErrors()
Browse files Browse the repository at this point in the history
  • Loading branch information
shadoWalker89 committed Jan 17, 2019
1 parent 9678846 commit e10e236
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions http-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
[assertSessionHasErrors](#assert-session-has-errors)
[assertSessionHasErrorsIn](#assert-session-has-errors-in)
[assertSessionHasNoErrors](#assert-session-has-no-errors)
[assertSessionDoesntHaveErrors](#assert-session-doesnt-have-errors)
[assertSessionMissing](#assert-session-missing)
[assertStatus](#assert-status)
[assertSuccessful](#assert-successful)
Expand Down Expand Up @@ -492,6 +493,13 @@ Assert that the session has the given errors:
Assert that the session has no errors:

$response->assertSessionHasNoErrors();

<a name="assert-session-doesnt-have-errors"></a>
#### assertSessionDoesntHaveErrors

Assert that the session has no errors for the given keys:

$response->assertSessionDoesntHaveErrors($keys = [], $format = null, $errorBag = 'default');

<a name="assert-session-missing"></a>
#### assertSessionMissing
Expand Down

0 comments on commit e10e236

Please sign in to comment.