Skip to content

Commit

Permalink
Revert "Boot kernel when trying to get navigation"
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 8, 2024
1 parent e4270be commit a246c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ public function getMediaOutputDirectory(): string

public function navigation(): NavigationMenu
{
$this->needsToBeBooted();

return $this->navigation;
}

Expand Down
2 changes: 2 additions & 0 deletions packages/framework/tests/Feature/HydeKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public function test_has_feature_helper_calls_method_on_features_class()

public function test_has_navigation_helper_returns_site_navigation_instance()
{
Hyde::boot();

$this->assertInstanceOf(NavigationMenu::class, Hyde::navigation());
}

Expand Down

0 comments on commit a246c6e

Please sign in to comment.