Skip to content

Commit

Permalink
Update src/test/e2e/services/project-service.e2e.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
  • Loading branch information
ivarconr and FredrikOseberg committed Mar 3, 2022
1 parent faa8746 commit 8a4984f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/e2e/services/project-service.e2e.test.ts
Expand Up @@ -678,7 +678,7 @@ test('should update role for user on project', async () => {
);

const { users } = await projectService.getUsersWithAccess(project.id, user);
const memberUsers = users.filter((u) => u.roleId === memberRole.id);
const memberUsers = users.filter((user) => user.roleId === memberRole.id);
const ownerUsers = users.filter((u) => u.roleId === ownerRole.id);

expect(memberUsers).toHaveLength(0);
Expand Down

0 comments on commit 8a4984f

Please sign in to comment.