Skip to content

Commit

Permalink
N21-1967 fixes test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Jun 17, 2024
1 parent 425187e commit cf1dde1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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<FilesStorageClientAdapterService>(),
};
Expand Down

0 comments on commit cf1dde1

Please sign in to comment.