diff --git a/tests/view.test.php b/tests/view.test.php index 8f23161..9537572 100644 --- a/tests/view.test.php +++ b/tests/view.test.php @@ -17,7 +17,7 @@ public static function test() test('view attach', function () { Leaf\Config::attachView(TView::class); - $view = Leaf\Config::get('views.tview'); + $view = app()->tview(); expect($view)->toBeInstanceOf(TView::class); });