From 5abceb09c26b053c001038e5c9abab377e78b564 Mon Sep 17 00:00:00 2001 From: Faizal Nugraha Date: Sun, 15 Sep 2024 22:03:41 +0700 Subject: [PATCH] ref --- tests/Feature/RoleViewTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/RoleViewTest.php b/tests/Feature/RoleViewTest.php index f5a4a0b..c8fc97e 100644 --- a/tests/Feature/RoleViewTest.php +++ b/tests/Feature/RoleViewTest.php @@ -48,7 +48,7 @@ it('can list users', function () { $role = Role::factory()->create(); - User::factory()->create()->assignRole($role); + $this->user->assignRole($role); livewire(RoleResource\RelationManagers\UsersRelationManager::class, [ 'ownerRecord' => $role,