Skip to content

Commit

Permalink
Fix Test Cases
Browse files Browse the repository at this point in the history
  • Loading branch information
praju-aot committed Sep 29, 2023
1 parent e7c8722 commit 80482ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/vehicles/test/unit/users/users.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ describe('UsersService', () => {
describe('User service getRolesForUser function', () => {
it('should get the user Roles', async () => {
repo.query.mockResolvedValue([
{ ROLE_ID: Role.READ_SELF },
{ ROLE_ID: Role.READ_USER },
{ ROLE_ID: Role.WRITE_SELF },
{ ROLE_ID: Role.WRITE_USER },
{ ROLE_TYPE: Role.READ_SELF },
{ ROLE_TYPE: Role.READ_USER },
{ ROLE_TYPE: Role.WRITE_SELF },
{ ROLE_TYPE: Role.WRITE_USER },
]);

const retUserRoles = await service.getRolesForUser(
Expand Down

0 comments on commit 80482ab

Please sign in to comment.