Skip to content

Commit

Permalink
Create proper collection instance in test (#49053)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman authored Nov 20, 2023
1 parent 48aa574 commit 5f103f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Support/SupportCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ public function testPluckWithDotNotation($collection)
*/
public function testPluckDuplicateKeysExist($collection)
{
$data = new collection([
$data = new $collection([
['brand' => 'Tesla', 'color' => 'red'],
['brand' => 'Pagani', 'color' => 'white'],
['brand' => 'Tesla', 'color' => 'black'],
Expand Down

0 comments on commit 5f103f0

Please sign in to comment.