Skip to content

Commit 54a9748

Browse files
committed
ALCS-2468 Fix test
1 parent ed7d45f commit 54a9748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/apps/alcs/src/alcs/notice-of-intent-decision/notice-of-intent-decision-condition/notice-of-intent-decision-condition.service.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ describe('NoticeOfIntentDecisionConditionService', () => {
6060
it('calls remove method for deleted conditions', async () => {
6161
const conditions = [new NoticeOfIntentDecisionCondition(), new NoticeOfIntentDecisionCondition()];
6262

63-
mockNOIDecisionConditionRepository.softRemove.mockResolvedValue({} as NoticeOfIntentDecisionCondition);
63+
mockNOIDecisionConditionRepository.remove.mockResolvedValue({} as NoticeOfIntentDecisionCondition);
6464

6565
await service.remove(conditions);
6666

67-
expect(mockNOIDecisionConditionRepository.softRemove).toBeCalledTimes(1);
67+
expect(mockNOIDecisionConditionRepository.remove).toBeCalledTimes(1);
6868
});
6969

7070
it('should create new components when given a DTO without a UUID', async () => {

0 commit comments

Comments
 (0)