From e10e236609963dd399c0fbbd672533a4f9a69255 Mon Sep 17 00:00:00 2001 From: Melek REBAI Date: Thu, 17 Jan 2019 15:24:03 +0100 Subject: [PATCH] [5.7] Add assertSessionDoesntHaveErrors() --- http-tests.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/http-tests.md b/http-tests.md index f9bd943847b..861518beb24 100644 --- a/http-tests.md +++ b/http-tests.md @@ -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) @@ -492,6 +493,13 @@ Assert that the session has the given errors: Assert that the session has no errors: $response->assertSessionHasNoErrors(); + + +#### assertSessionDoesntHaveErrors + +Assert that the session has no errors for the given keys: + + $response->assertSessionDoesntHaveErrors($keys = [], $format = null, $errorBag = 'default'); #### assertSessionMissing