Skip to content

Commit

Permalink
Fix another test which broke for no reason.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreuzkam-cap committed Dec 18, 2024
1 parent a6e97fa commit b9edb39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ describe('AccountDbService', () => {
if (mockTeacherUser.id === userId) {
return Promise.resolve(mockTeacherAccount);
}
throw new EntityNotFoundError(AccountEntity.name);
return Promise.reject(new EntityNotFoundError(AccountEntity.name));
});
return {};
};
Expand Down

0 comments on commit b9edb39

Please sign in to comment.