@@ -242,10 +242,10 @@ 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 )
248
- [ assertJsonMissingValidationErrors] ( #assert-json-missing-validation-errors )
249
249
[ assertNotFound] ( #assert-not-found )
250
250
[ assertOk] ( #assert-ok )
251
251
[ assertPlainCookie] ( #assert-plain-cookie )
@@ -374,6 +374,13 @@ Assert that the response does not contain the exact JSON fragment:
374
374
375
375
$response->assertJsonMissingExact(array $data);
376
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
+
377
384
<a name =" assert-json-structure " ></a >
378
385
#### assertJsonStructure
379
386
@@ -394,13 +401,6 @@ Assert that the response has the given JSON validation errors for the given keys
394
401
Assert that the response has the given URI value in the ` Location ` header:
395
402
396
403
$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);
404
404
405
405
<a name =" assert-not-found " ></a >
406
406
#### assertNotFound
0 commit comments