Skip to content

Commit

Permalink
Cleanup after test
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 8, 2024
1 parent 45141d9 commit ed951d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/framework/tests/Unit/NavItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ class NavItemTest extends UnitTestCase
protected static bool $needsConfig = true;
protected static bool $needsRender = true;

protected function tearDown(): void
{
self::mockRender();
}

public function testConstruct()
{
$route = new Route(new MarkdownPage());
Expand Down

0 comments on commit ed951d6

Please sign in to comment.