Skip to content

Commit

Permalink
Refactor unit test to use unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 8, 2024
1 parent cedab99 commit d0834e5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
use Hyde\Pages\DocumentationPage;
use Hyde\Pages\MarkdownPage;
use Hyde\Pages\MarkdownPost;
use Hyde\Testing\TestCase;
use Hyde\Testing\UnitTestCase;

/**
* @covers \Hyde\Pages\Concerns\HydePage::parse
*/
class PageModelParseHelperTest extends TestCase
class PageModelParseHelperTest extends UnitTestCase
{
protected static bool $needsKernel = true;
protected static bool $needsConfig = true;

public function testBladePageGetHelperReturnsBladePageObject()
{
Filesystem::touch('_pages/foo.blade.php');
Expand Down

0 comments on commit d0834e5

Please sign in to comment.