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 @@ -245,6 +245,7 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
245
245
[ assertJsonStructure] ( #assert-json-structure )
246
246
[ assertJsonValidationErrors] ( #assert-json-validation-errors )
247
247
[ assertLocation] ( #assert-location )
248
+ [ assertJsonMissingValidationErrors] ( #assert-json-missing-validation-errors )
248
249
[ assertNotFound] ( #assert-not-found )
249
250
[ assertOk] ( #assert-ok )
250
251
[ assertPlainCookie] ( #assert-plain-cookie )
@@ -393,6 +394,13 @@ Assert that the response has the given JSON validation errors for the given keys
393
394
Assert that the response has the given URI value in the ` Location ` header:
394
395
395
396
$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);
396
404
397
405
<a name =" assert-not-found " ></a >
398
406
#### assertNotFound
You can’t perform that action at this time.
0 commit comments