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
{
$this->view = new View();
$this->view->path = __DIR__ . '/views';
$this->view = new View(__DIR__ . '/views');
}
// Set template variables

Loading…
Cancel
Save