Skip to content

Commit

Permalink
10007: Fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelschneiderman committed Mar 12, 2024
1 parent 3d9a147 commit f648af9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit f648af9

Please sign in to comment.