diff --git a/apps/server/src/modules/account/domain/services/account-db.service.spec.ts b/apps/server/src/modules/account/domain/services/account-db.service.spec.ts index 9334a0ca93..ef1fc4c79e 100644 --- a/apps/server/src/modules/account/domain/services/account-db.service.spec.ts +++ b/apps/server/src/modules/account/domain/services/account-db.service.spec.ts @@ -711,10 +711,7 @@ describe('AccountDbService', () => { const { account, savedAccount } = setup(); const result = await accountService.saveAll([account]); - - expect(result.length).toBe(1); - expect(result[0]).toStrictEqual(savedAccount); - expect(accountRepo.saveAll).toHaveBeenCalledTimes(1); + expect(result).toStrictEqual([savedAccount]); }); });