Skip to content

Commit e148af9

Browse files
authored
Add assertJsonMissingValidationErrors doc
1 parent 3a29427 commit e148af9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

http-tests.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
245245
[assertJsonStructure](#assert-json-structure)
246246
[assertJsonValidationErrors](#assert-json-validation-errors)
247247
[assertLocation](#assert-location)
248+
[assertJsonMissingValidationErrors](#assert-json-missing-validation-errors)
248249
[assertNotFound](#assert-not-found)
249250
[assertOk](#assert-ok)
250251
[assertPlainCookie](#assert-plain-cookie)
@@ -393,6 +394,13 @@ Assert that the response has the given JSON validation errors for the given keys
393394
Assert that the response has the given URI value in the `Location` header:
394395

395396
$response->assertLocation($uri);
397+
398+
<a name="assert-json-missing-validation-errors"></a>
399+
#### assertJsonMissingValidationErrors
400+
401+
Assert that the response has no JSON validation errors for the given keys.
402+
403+
$response->assertJsonMissingValidationErrors($keys);
396404

397405
<a name="assert-not-found"></a>
398406
#### assertNotFound

0 commit comments

Comments
 (0)