Skip to content

Commit

Permalink
test: delete test user regardless of license
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 authored May 17, 2024
1 parent 8a49bd7 commit 9ebfc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/tests/end-to-end/api/28-roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ describe('[Roles]', function () {
});

after(async () => {
await deleteUser(testUser);
if (!isEnterprise) {
return;
}

await request.post(api('roles.delete')).set(credentials).send({
roleId: testRoleId,
});
await deleteUser(testUser);
});

it('should successfully get an empty list of users in a role if no user has been assigned to it', async function () {
Expand Down

0 comments on commit 9ebfc76

Please sign in to comment.