Skip to content

Commit

Permalink
Fixed GroupsTest that was throwing error
Browse files Browse the repository at this point in the history
  • Loading branch information
HabuTheTiger committed Nov 20, 2024
1 parent 255595a commit 7ef027f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/Feature/Api/v1/GroupsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,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(),
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/Staff/GroupMemberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,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],
Expand Down

0 comments on commit 7ef027f

Please sign in to comment.