Skip to content

Commit

Permalink
Update NavigationItemTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 27, 2024
1 parent 7ffea84 commit a23d266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/tests/Unit/NavigationItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public function testDropdownFacade()
$item = NavigationGroup::create('foo');

$this->assertSame('foo', $item->getLabel());
$this->assertSame([], $item->getItems());
$this->assertSame([], $item->getItems()->all());
$this->assertSame(999, $item->getPriority());
}

Expand All @@ -290,7 +290,7 @@ public function testDropdownFacadeWithChildren()
];

$item = NavigationGroup::create('foo', $children);
$this->assertSame($children, $item->getItems());
$this->assertSame($children, $item->getItems()->all());
$this->assertSame(999, $item->getPriority());
}

Expand Down

0 comments on commit a23d266

Please sign in to comment.