We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ffea84 commit a23d266Copy full SHA for a23d266
packages/framework/tests/Unit/NavigationItemTest.php
@@ -279,7 +279,7 @@ public function testDropdownFacade()
279
$item = NavigationGroup::create('foo');
280
281
$this->assertSame('foo', $item->getLabel());
282
- $this->assertSame([], $item->getItems());
+ $this->assertSame([], $item->getItems()->all());
283
$this->assertSame(999, $item->getPriority());
284
}
285
@@ -290,7 +290,7 @@ public function testDropdownFacadeWithChildren()
290
];
291
292
$item = NavigationGroup::create('foo', $children);
293
- $this->assertSame($children, $item->getItems());
+ $this->assertSame($children, $item->getItems()->all());
294
295
296
0 commit comments