diff --git a/tests/DebuggerTest.php b/tests/DebuggerTest.php index ab5635f..7673830 100644 --- a/tests/DebuggerTest.php +++ b/tests/DebuggerTest.php @@ -1,6 +1,7 @@ artisan('filament-debugger:install') @@ -11,9 +12,9 @@ }); it('can open horizon', function () { - $this->get(DebuggerPlugin::horizon())->assertSuccessful(); + expect(DebuggerPlugin::horizon())->toBeInstanceOf(NavigationItem::class); }); it('can open telescope', function () { - $this->get(DebuggerPlugin::telescope())->assertSuccessful(); + expect(DebuggerPlugin::telescope())->toBeInstanceOf(NavigationItem::class); });