Skip to content

Commit

Permalink
Fixed test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
Arno Rietdijk committed Mar 14, 2024
1 parent f236b78 commit 0fd8a87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/DebuggerTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Stephenjude\FilamentDebugger\DebuggerPlugin;
use Filament\Navigation\NavigationItem;

it('can install configurations', function () {
$this->artisan('filament-debugger:install')
Expand All @@ -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);
});

0 comments on commit 0fd8a87

Please sign in to comment.