Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/Feature/Filament/Resources/UserResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
use App\Models\User;
use Filament\Actions\DeleteAction;
use Filament\Tables\Actions\DeleteBulkAction;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;

use function Pest\Livewire\livewire;

beforeEach(function () {
/* The TestCase setup generates a user before each test, so we need to clear the table to make sure we have a clean slate. */
DB::table('users')->truncate();
User::truncate();
});

it('can render the index page', function () {
Expand Down