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 @@ -242,6 +242,7 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
242
242
[ assertJsonFragment] ( #assert-json-fragment )
243
243
[ assertJsonMissing] ( #assert-json-missing )
244
244
[ assertJsonMissingExact] ( #assert-json-missing-exact )
245
+ [ assertJsonMissingValidationErrors] ( #assert-json-missing-validation-errors )
245
246
[ assertJsonStructure] ( #assert-json-structure )
246
247
[ assertJsonValidationErrors] ( #assert-json-validation-errors )
247
248
[ assertLocation] ( #assert-location )
@@ -373,6 +374,13 @@ Assert that the response does not contain the exact JSON fragment:
373
374
374
375
$response->assertJsonMissingExact(array $data);
375
376
377
+ <a name =" assert-json-missing-validation-errors " ></a >
378
+ #### assertJsonMissingValidationErrors
379
+
380
+ Assert that the response has no JSON validation errors for the given keys:
381
+
382
+ $response->assertJsonMissingValidationErrors($keys);
383
+
376
384
<a name =" assert-json-structure " ></a >
377
385
#### assertJsonStructure
378
386
You can’t perform that action at this time.
0 commit comments