Skip to content

Commit

Permalink
test fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sszafGCA committed Jan 14, 2024
1 parent 1cf70ba commit dd6d271
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { FilesStorageClientAdapterService } from '@src/modules/files-storage-cli
import { DomainModel } from '@shared/domain/types';
import { TaskService } from '@modules/task';
import { DomainOperationBuilder } from '@shared/domain/builder';
import { NewsUc } from '@src/modules/news/uc';
import { DeletionStatusModel } from '../domain/types';
import { DeletionLogService } from '../services/deletion-log.service';
import { DeletionRequestService } from '../services';
Expand Down Expand Up @@ -124,6 +125,7 @@ describe(DeletionRequestUc.name, () => {
provide: TaskService,
useValue: createMock<TaskService>(),
},
{ provide: NewsUc, useValue: createMock<NewsUc>() },
],
}).compile();

Expand Down Expand Up @@ -472,7 +474,7 @@ describe(DeletionRequestUc.name, () => {

await uc.executeDeletionRequests();

expect(deletionLogService.createDeletionLog).toHaveBeenCalledTimes(13);
expect(deletionLogService.createDeletionLog).toHaveBeenCalledTimes(14);
});
});

Expand Down

0 comments on commit dd6d271

Please sign in to comment.