260317:1200 Refactor to uploads
Build and Deploy / deploy (push) Successful in 5m48s

This commit is contained in:
admin
2026-03-17 12:00:26 +07:00
parent 2f0d67d8b2
commit 3abef2c745
9 changed files with 299 additions and 1069 deletions
@@ -14,6 +14,7 @@ import { JsonSchemaService } from '../json-schema/json-schema.service';
import { WorkflowEngineService } from '../workflow-engine/workflow-engine.service';
import { UserService } from '../user/user.service';
import { SearchService } from '../search/search.service';
import { FileStorageService } from '../../common/file-storage/file-storage.service';
describe('CorrespondenceService', () => {
let service: CorrespondenceService;
@@ -118,6 +119,10 @@ describe('CorrespondenceService', () => {
provide: SearchService,
useValue: { indexDocument: jest.fn() },
},
{
provide: FileStorageService,
useValue: { commit: jest.fn().mockResolvedValue([]) },
},
],
}).compile();