From 1d27f0d0cdf7f4c5bdf88d525681b70095b95a95 Mon Sep 17 00:00:00 2001 From: bert-w Date: Sat, 16 Sep 2023 20:59:16 +0200 Subject: [PATCH] Update QueryBuilderTest.php --- tests/Integration/Database/QueryBuilderTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Integration/Database/QueryBuilderTest.php b/tests/Integration/Database/QueryBuilderTest.php index a5a09c03cc56..6ec6930b13db 100644 --- a/tests/Integration/Database/QueryBuilderTest.php +++ b/tests/Integration/Database/QueryBuilderTest.php @@ -403,8 +403,9 @@ public function testPluck() { // Test SELECT override, since pluck will take the first column. $this->assertSame([ - 1, 2, - ], DB::table('posts')->select(['content', 'id', 'title'])->pluck('id')->toArray()); + 'Foo Post', + 'Bar Post', + ], DB::table('posts')->select(['content', 'id', 'title'])->pluck('title')->toArray()); $this->assertSame([ 'Foo Post',