From f648af9649bf8e67eb1e0f819d7cb1f0b94bee5d Mon Sep 17 00:00:00 2001 From: Rachel Schneiderman Date: Tue, 12 Mar 2024 10:54:34 -0700 Subject: [PATCH] 10007: Fixing unit test --- .../practitioner/createPractitionerUserInteractor.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-api/src/business/useCases/practitioner/createPractitionerUserInteractor.test.ts b/web-api/src/business/useCases/practitioner/createPractitionerUserInteractor.test.ts index 4a581b0146d..8fb1aaf29bd 100644 --- a/web-api/src/business/useCases/practitioner/createPractitionerUserInteractor.test.ts +++ b/web-api/src/business/useCases/practitioner/createPractitionerUserInteractor.test.ts @@ -31,7 +31,7 @@ describe('createPractitionerUserInteractor', () => { applicationContext.getCurrentUser.mockReturnValue(admissionsClerkUser); applicationContext .getPersistenceGateway() - .createOrUpdatePractitionerUser.mockResolvedValue(({ user }) => user); + .createOrUpdatePractitionerUser.mockResolvedValue(mockUser); }); it('should throw an error when the user is unauthorized to create a practitioner user', async () => {