From 81da7c497ebf03d34a7fcd4416f348d478293d74 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 9 Sep 2024 12:06:33 +0200 Subject: [PATCH] Update unit test to use the unit test case --- .../tests/Unit/CreatesNewMarkdownPostFileTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/framework/tests/Unit/CreatesNewMarkdownPostFileTest.php b/packages/framework/tests/Unit/CreatesNewMarkdownPostFileTest.php index 47b81290328..472cbecdd61 100644 --- a/packages/framework/tests/Unit/CreatesNewMarkdownPostFileTest.php +++ b/packages/framework/tests/Unit/CreatesNewMarkdownPostFileTest.php @@ -5,7 +5,7 @@ namespace Hyde\Framework\Testing\Unit; use Hyde\Hyde; -use Hyde\Testing\TestCase; +use Hyde\Testing\UnitTestCase; use Illuminate\Support\Carbon; use Hyde\Framework\Actions\CreatesNewMarkdownPostFile; @@ -14,8 +14,11 @@ * * @see \Hyde\Framework\Testing\Feature\Commands\MakePostCommandTest */ -class CreatesNewMarkdownPostFileTest extends TestCase +class CreatesNewMarkdownPostFileTest extends UnitTestCase { + protected static bool $needsKernel = true; + protected static bool $needsConfig = true; + protected function setUp(): void { parent::setUp();