Skip to content

Commit

Permalink
[4.0.x] - Corrected test
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Sep 17, 2019
1 parent a73a93f commit 8b5113b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/Helper/Arr/PluckCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public function helperArrPluckObject(UnitTester $I)
{
$I->wantToTest('Helper\Arr - pluck()');
$collection = [
Arr::arrayToObject(['product_id' => 'prod-100', 'name' => 'Desk']),
Arr::arrayToObject(['product_id' => 'prod-200', 'name' => 'Chair']),
Arr::toObject(['product_id' => 'prod-100', 'name' => 'Desk']),
Arr::toObject(['product_id' => 'prod-200', 'name' => 'Chair']),
];

$expected = ['Desk', 'Chair'];
Expand Down

0 comments on commit 8b5113b

Please sign in to comment.