Skip to content

Commit

Permalink
test: add test for new attached views
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 10, 2024
1 parent ea4fac9 commit a766451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/view.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit a766451

Please sign in to comment.