diff --git a/tests/TestCase.php b/tests/TestCase.php index 6f1e2bd6548..217e323523a 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,8 +3,8 @@ namespace Hyde\Testing; use Hyde\Framework\Hyde; -use Hyde\Framework\Models\Route; use Hyde\Framework\Models\Pages\MarkdownPage; +use Hyde\Framework\Models\Route; use LaravelZero\Framework\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase @@ -59,7 +59,7 @@ protected function tearDown(): void { parent::tearDown(); } - + protected function mockRoute() { view()->share('currentRoute', (new Route(new MarkdownPage())));