diff --git a/tests/Feature/Api/v1/GroupsTest.php b/tests/Feature/Api/v1/GroupsTest.php index af0c5d0..ab7dae5 100644 --- a/tests/Feature/Api/v1/GroupsTest.php +++ b/tests/Feature/Api/v1/GroupsTest.php @@ -174,7 +174,9 @@ }); test('Delete Group success as Owner', function () { - $group = Group::factory()->create(); + $group = Group::factory()->create([ + 'type' => GroupTypeEnum::Team, + ]); $user = Sanctum::actingAs( User::factory()->create(), diff --git a/tests/Feature/Staff/GroupMemberTest.php b/tests/Feature/Staff/GroupMemberTest.php index 4d5eed6..c1241f9 100644 --- a/tests/Feature/Staff/GroupMemberTest.php +++ b/tests/Feature/Staff/GroupMemberTest.php @@ -33,8 +33,6 @@ $this->actingAs($user, 'staff'); - var_dump(GroupUserLevel::Admin->name); - $response = patchJson( route('staff.groups.members.update', ["group" => $group, 'member' => $userToBeUpdated]), ["level" => GroupUserLevel::Admin->value],