Skip to content

Commit a23d266

Browse files
committed
Update NavigationItemTest.php
1 parent 7ffea84 commit a23d266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/tests/Unit/NavigationItemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function testDropdownFacade()
279279
$item = NavigationGroup::create('foo');
280280

281281
$this->assertSame('foo', $item->getLabel());
282-
$this->assertSame([], $item->getItems());
282+
$this->assertSame([], $item->getItems()->all());
283283
$this->assertSame(999, $item->getPriority());
284284
}
285285

@@ -290,7 +290,7 @@ public function testDropdownFacadeWithChildren()
290290
];
291291

292292
$item = NavigationGroup::create('foo', $children);
293-
$this->assertSame($children, $item->getItems());
293+
$this->assertSame($children, $item->getItems()->all());
294294
$this->assertSame(999, $item->getPriority());
295295
}
296296

0 commit comments

Comments
 (0)