From 6d6951e71f574d9f96bd3fbcd8e396b03dc98e40 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Thu, 8 Feb 2024 21:41:01 +0100 Subject: [PATCH] Revert "Revert "Boot the kernel"" This reverts commit ed6c6a74d3d6e57ed51531ccadb6bffc03d0e388. --- packages/framework/tests/Feature/DarkmodeFeatureTest.php | 3 +++ packages/framework/tests/Unit/Views/NavigationMenuViewTest.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/packages/framework/tests/Feature/DarkmodeFeatureTest.php b/packages/framework/tests/Feature/DarkmodeFeatureTest.php index d1f16c24903..e8a8d5baa16 100644 --- a/packages/framework/tests/Feature/DarkmodeFeatureTest.php +++ b/packages/framework/tests/Feature/DarkmodeFeatureTest.php @@ -4,6 +4,7 @@ namespace Hyde\Framework\Testing\Feature; +use Hyde\Hyde; use Hyde\Facades\Features; use Hyde\Pages\DocumentationPage; use Hyde\Testing\TestCase; @@ -21,6 +22,8 @@ protected function setUp(): void $this->mockRoute(); $this->mockPage(); + + Hyde::boot(); } public function test_has_darkmode() diff --git a/packages/framework/tests/Unit/Views/NavigationMenuViewTest.php b/packages/framework/tests/Unit/Views/NavigationMenuViewTest.php index ba8eb89393f..41f13a493de 100644 --- a/packages/framework/tests/Unit/Views/NavigationMenuViewTest.php +++ b/packages/framework/tests/Unit/Views/NavigationMenuViewTest.php @@ -18,6 +18,8 @@ protected function setUp(): void parent::setUp(); $this->mockRoute(); $this->mockPage(); + + Hyde::boot(); } protected function render(): string