Skip to content

Commit 4f34bfd

Browse files
committed
Remove test from PR laravel#54396
1 parent 8359ace commit 4f34bfd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/Database/DatabaseQueryBuilderTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3487,17 +3487,6 @@ public function testPluckMethodGetsCollectionOfColumnValues()
34873487
$this->assertEquals([1 => 'bar', 10 => 'baz'], $results->all());
34883488
}
34893489

3490-
public function testPluckAvoidsDuplicateColumnSelection()
3491-
{
3492-
$builder = $this->getBuilder();
3493-
$builder->getConnection()->shouldReceive('select')->once()->with('select "foo" from "users" where "id" = ?', [1], true)->andReturn([['foo' => 'bar']]);
3494-
$builder->getProcessor()->shouldReceive('processSelect')->once()->with($builder, [['foo' => 'bar']])->andReturnUsing(function ($query, $results) {
3495-
return $results;
3496-
});
3497-
$results = $builder->from('users')->where('id', '=', 1)->pluck('foo', 'foo');
3498-
$this->assertEquals(['bar' => 'bar'], $results->all());
3499-
}
3500-
35013490
public function testImplode()
35023491
{
35033492
// Test without glue.

0 commit comments

Comments
 (0)