We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a8ba0 commit 6be3228Copy full SHA for 6be3228
tests/Feature/Filament/Resources/UserResourceTest.php
@@ -6,14 +6,13 @@
6
use App\Models\User;
7
use Filament\Actions\DeleteAction;
8
use Filament\Tables\Actions\DeleteBulkAction;
9
-use Illuminate\Support\Facades\DB;
10
use Illuminate\Support\Str;
11
12
use function Pest\Livewire\livewire;
13
14
beforeEach(function () {
15
/* The TestCase setup generates a user before each test, so we need to clear the table to make sure we have a clean slate. */
16
- DB::table('users')->truncate();
+ User::truncate();
17
});
18
19
it('can render the index page', function () {
0 commit comments