Skip to content

Commit ad2c73d

Browse files
authored
Match Formatting
1 parent 63653a5 commit ad2c73d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

http-tests.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ Laravel provides a variety of custom assertion methods for your [PHPUnit](https:
242242
[assertJsonFragment](#assert-json-fragment)
243243
[assertJsonMissing](#assert-json-missing)
244244
[assertJsonMissingExact](#assert-json-missing-exact)
245+
[assertJsonMissingValidationErrors](#assert-json-missing-validation-errors)
245246
[assertJsonStructure](#assert-json-structure)
246247
[assertJsonValidationErrors](#assert-json-validation-errors)
247248
[assertLocation](#assert-location)
248-
[assertJsonMissingValidationErrors](#assert-json-missing-validation-errors)
249249
[assertNotFound](#assert-not-found)
250250
[assertOk](#assert-ok)
251251
[assertPlainCookie](#assert-plain-cookie)
@@ -374,6 +374,13 @@ Assert that the response does not contain the exact JSON fragment:
374374

375375
$response->assertJsonMissingExact(array $data);
376376

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+
377384
<a name="assert-json-structure"></a>
378385
#### assertJsonStructure
379386

@@ -394,13 +401,6 @@ Assert that the response has the given JSON validation errors for the given keys
394401
Assert that the response has the given URI value in the `Location` header:
395402

396403
$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);
404404

405405
<a name="assert-not-found"></a>
406406
#### assertNotFound

0 commit comments

Comments
 (0)