Skip to content

Commit

Permalink
Update QueryBuilderTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-w committed Sep 16, 2023
1 parent a695364 commit 1d27f0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Integration/Database/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1d27f0d

Please sign in to comment.