From 4b52e6d4e436aa90dea58005d6cff5fa3a3791a9 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 12 Oct 2024 11:18:36 -0500 Subject: [PATCH] Revert "Improve remove code duplication (#53128)" (#53132) This reverts commit 39ef6a28db0719cd31add679df364e9ba20de111. --- tests/Http/HttpRequestTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Http/HttpRequestTest.php b/tests/Http/HttpRequestTest.php index b838d27a4622..7141822666d6 100644 --- a/tests/Http/HttpRequestTest.php +++ b/tests/Http/HttpRequestTest.php @@ -1625,7 +1625,7 @@ public function testItCanHaveObjectsInJsonPayload() $value = $request->get('framework'); - $this->assertSame(['name' => 'Laravel'], $value); + $this->assertSame(['name' => 'Laravel'], $request->get('framework')); } public function testItDoesNotGenerateJsonErrorsForEmptyContent()