From 473c8f75640eb2306ed810e6067c38e6ca4b550d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 9 Mar 2023 20:30:36 -0600 Subject: [PATCH] Revert "[9.x] Add assertUnsupportedMediaType method for assertion Unsupported Media Type (#46418)" This reverts commit 46199b6f297fd6c3371da9acc3f589a2df0eea40. --- src/Illuminate/Testing/Concerns/AssertsStatusCodes.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Illuminate/Testing/Concerns/AssertsStatusCodes.php b/src/Illuminate/Testing/Concerns/AssertsStatusCodes.php index 30a0c5ed4ecd..9622620b0212 100644 --- a/src/Illuminate/Testing/Concerns/AssertsStatusCodes.php +++ b/src/Illuminate/Testing/Concerns/AssertsStatusCodes.php @@ -143,16 +143,6 @@ public function assertConflict() return $this->assertStatus(409); } - /** - * Assert that the response has a 415 "Unsupported Media Type" status code. - * - * @return $this - */ - public function assertUnsupportedMediaType() - { - return $this->assertStatus(415); - } - /** * Assert that the response has a 422 "Unprocessable Entity" status code. *