File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
259259[ assertSessionHasErrors] ( #assert-session-has-errors )
260260[ assertSessionHasErrorsIn] ( #assert-session-has-errors-in )
261261[ assertSessionHasNoErrors] ( #assert-session-has-no-errors )
262+ [ assertSessionDoesntHaveErrors] ( #assert-session-doesnt-have-errors )
262263[ assertSessionMissing] ( #assert-session-missing )
263264[ assertStatus] ( #assert-status )
264265[ assertSuccessful] ( #assert-successful )
@@ -492,6 +493,13 @@ Assert that the session has the given errors:
492493Assert that the session has no errors:
493494
494495 $response->assertSessionHasNoErrors();
496+
497+ <a name =" assert-session-doesnt-have-errors " ></a >
498+ #### assertSessionDoesntHaveErrors
499+
500+ Assert that the session has no errors for the given keys:
501+
502+ $response->assertSessionDoesntHaveErrors($keys = [], $format = null, $errorBag = 'default');
495503
496504<a name =" assert-session-missing " ></a >
497505#### assertSessionMissing
You can’t perform that action at this time.
0 commit comments