diff --git a/tests/ViewTest.php b/tests/ViewTest.php index e57afd0..6a03320 100644 --- a/tests/ViewTest.php +++ b/tests/ViewTest.php @@ -14,8 +14,7 @@ class ViewTest extends TestCase protected function setUp(): void { - $this->view = new View(); - $this->view->path = __DIR__ . '/views'; + $this->view = new View(__DIR__ . '/views'); } // Set template variables