diff --git a/shared/src/business/entities/factories/UserFactory.test.ts b/shared/src/business/entities/factories/UserFactory.test.ts index 665dd66e2cf..fcdf2adcc44 100644 --- a/shared/src/business/entities/factories/UserFactory.test.ts +++ b/shared/src/business/entities/factories/UserFactory.test.ts @@ -26,7 +26,7 @@ describe('UserFactory', () => { expect(classInstance).toEqual(Practitioner); }); - it('should return "Practitioner" class type if role is "inactivePractitioner"', () => { + it('should return "User" class type if role is "admin"', () => { const TEST_USER = { role: ROLES.admin }; const userFactory = new UserFactory(TEST_USER); const classInstance = userFactory.getClass();