Skip to content

Commit a766451

Browse files
committed
test: add test for new attached views
1 parent ea4fac9 commit a766451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/view.test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static function test()
1717
test('view attach', function () {
1818
Leaf\Config::attachView(TView::class);
1919

20-
$view = Leaf\Config::get('views.tview');
20+
$view = app()->tview();
2121

2222
expect($view)->toBeInstanceOf(TView::class);
2323
});

0 commit comments

Comments
 (0)