From 6a6d51ac26de8f1dbd4456b4e1b9be83bf95590c Mon Sep 17 00:00:00 2001 From: Shane Date: Mon, 19 May 2025 21:51:43 +0800 Subject: [PATCH] [12.x] reorder assertions alphabetically --- http-tests.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/http-tests.md b/http-tests.md index e5f34c8ffa..c12ad81704 100644 --- a/http-tests.md +++ b/http-tests.md @@ -1038,22 +1038,22 @@ Laravel's `Illuminate\Testing\TestResponse` class provides a variety of custom a - -#### assertBadRequest + +#### assertAccepted -Assert that the response has a bad request (400) HTTP status code: +Assert that the response has an accepted (202) HTTP status code: ```php -$response->assertBadRequest(); +$response->assertAccepted(); ``` - -#### assertAccepted + +#### assertBadRequest -Assert that the response has an accepted (202) HTTP status code: +Assert that the response has a bad request (400) HTTP status code: ```php -$response->assertAccepted(); +$response->assertBadRequest(); ```