Skip to content

Commit

Permalink
fix: integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
charIeszhao committed Apr 12, 2024
1 parent ea0c614 commit 9783d53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe('organization user APIs', () => {
// Assign role1 to user
await organizationApi.addUserRoles(organization.id, user.id, [role1.id]);
const scopes = await organizationApi.getUserOrganizationScopes(organization.id, user.id);
expect(scopes).toEqual([scope1.name, scope2.name]);
expect(scopes).toMatchObject([scope1.name, scope2.name]);

// Remove role1 and assign role2 to user
await organizationApi.deleteUserRole(organization.id, user.id, role1.id);
Expand Down

0 comments on commit 9783d53

Please sign in to comment.