Skip to content

Commit

Permalink
Test role
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoungportable committed Oct 1, 2024
1 parent d0b84d2 commit 7b02bad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/PageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Str;
use Livewire\Livewire;
use Portable\FilaCms\Database\Seeders\RoleAndPermissionSeeder;
use Portable\FilaCms\Filament\Actions\CloneAction;
use Portable\FilaCms\Filament\Resources\PageResource\Pages\ListPages;
use Portable\FilaCms\Models\Author;
Expand All @@ -24,6 +25,7 @@ class PageTest extends TestCase
protected function setUp(): void
{
parent::setUp();
$this->artisan('db:seed', ['--class' => RoleAndPermissionSeeder::class]);
$this->userModel = config('auth.providers.users.model');
$user = $this->userModel::create([
'name' => 'Jeremy Layson',
Expand Down

0 comments on commit 7b02bad

Please sign in to comment.