simplify view instantiation

580-view-class-steroids
fadrian06 1 day ago
parent b1c56b1a6e
commit ee9699e8ad

@ -14,8 +14,7 @@ class ViewTest extends TestCase
protected function setUp(): void protected function setUp(): void
{ {
$this->view = new View(); $this->view = new View(__DIR__ . '/views');
$this->view->path = __DIR__ . '/views';
} }
// Set template variables // Set template variables

Loading…
Cancel
Save