From 0fd8a8718379266955563276491777d700d424a4 Mon Sep 17 00:00:00 2001 From: Arno Rietdijk Date: Thu, 14 Mar 2024 11:23:18 +0100 Subject: [PATCH] Fixed test expectations --- tests/DebuggerTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); });