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 438fb53 commit 42ea6e6
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 @@ -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(),
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 @@ -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],
Expand Down

0 comments on commit 42ea6e6

Please sign in to comment.