diff --git a/apps/server/src/modules/board/service/internal/board-node-copy-general.service.spec.ts b/apps/server/src/modules/board/service/internal/board-node-copy-general.service.spec.ts index c07a3a0cfd2..7402a8c1436 100644 --- a/apps/server/src/modules/board/service/internal/board-node-copy-general.service.spec.ts +++ b/apps/server/src/modules/board/service/internal/board-node-copy-general.service.spec.ts @@ -1,6 +1,7 @@ import { createMock } from '@golevelup/ts-jest'; import { ObjectId } from '@mikro-orm/mongodb'; import { CopyElementType, CopyHelperService, CopyStatus, CopyStatusEnum } from '@modules/copy-helper'; +import { StorageLocation } from '@modules/files-storage/entity'; import { ContextExternalToolService } from '@modules/tool/context-external-tool/service'; import { IToolFeatures, ToolFeatures } from '@modules/tool/tool-config'; import { Test, TestingModule } from '@nestjs/testing'; @@ -64,7 +65,9 @@ describe(BoardNodeCopyService.name, () => { const setup = () => { const contextProps: BoardNodeCopyContextProps = { sourceStorageLocationId: new ObjectId().toHexString(), + sourceStorageLocation: StorageLocation.SCHOOL, targetStorageLocationId: new ObjectId().toHexString(), + targetStorageLocation: StorageLocation.SCHOOL, userId: new ObjectId().toHexString(), filesStorageClientAdapterService: createMock(), };