From 39ef6a28db0719cd31add679df364e9ba20de111 Mon Sep 17 00:00:00 2001 From: toarupg0318 <129402082+toarupg0318@users.noreply.github.com> Date: Sun, 13 Oct 2024 01:18:12 +0900 Subject: [PATCH] Improve remove code duplication (#53128) --- 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 7141822666d6..b838d27a4622 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'], $request->get('framework')); + $this->assertSame(['name' => 'Laravel'], $value); } public function testItDoesNotGenerateJsonErrorsForEmptyContent()