From ee9699e8ad9bd92764c3fdd149af34164fce0ea6 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Tue, 23 Jun 2026 19:29:27 -0400 Subject: [PATCH] simplify view instantiation --- tests/ViewTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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