From d50235b32a37bb64f6ddf62cf35bf58f9349f596 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 21 Dec 2024 12:09:06 +0100 Subject: [PATCH] Reapply "Update NavItemTest.php" This reverts commit 48bfa574e72a1704cb8bc7977ed23e5e63fdab57. --- tests/Unit/NavItemTest.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/Unit/NavItemTest.php b/tests/Unit/NavItemTest.php index 6ce3d754..94811a94 100644 --- a/tests/Unit/NavItemTest.php +++ b/tests/Unit/NavItemTest.php @@ -25,13 +25,8 @@ */ class NavItemTest extends UnitTestCase { - public static function setUpBeforeClass(): void - { - self::$hasSetUpKernel = false; - - self::setupKernel(); - self::mockConfig(); - } + protected static bool $needsKernel = true; + protected static bool $needsConfig = true; protected function setUp(): void {