Skip to content

Commit

Permalink
N21-1269 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Sep 18, 2023
1 parent d037222 commit 5df4bc6
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { LegacyLogger } from '@src/core/logger';
import { CopyElementType, CopyHelperService, CopyStatus } from '@src/modules/copy-helper';
import { getResolvedValues } from '@src/modules/files-storage/helper';
import { LessonCopyService } from '@src/modules/lesson/service';
import { TaskCopyService } from '@src/modules/task';
import { TaskCopyService } from '@src/modules/task/service';
import { sortBy } from 'lodash';

type BoardCopyParams = {
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/learnroom/service/rooms.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Injectable } from '@nestjs/common';
import { Board, BoardExternalReferenceType, ColumnBoardTarget, EntityId } from '@shared/domain';
import { BoardRepo, LessonRepo } from '@shared/repo';
import { ColumnBoardService } from '@src/modules/board';
import { TaskService } from '@src/modules/task/service/task.service';
import { TaskService } from '@src/modules/task/service';
import { ColumnBoardTargetService } from './column-board-target.service';

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common';
import { NotFoundLoggableException } from '@shared/common/loggable-exception';
import { Course, EntityId, Pseudonym, RoleName, RoleReference, UserDO } from '@shared/domain';
import { CourseService } from '@src/modules/learnroom/service/course.service';
import { CourseService } from '@src/modules/learnroom/service';
import { ToolContextType } from '@src/modules/tool/common/enum';
import { ContextExternalTool, ContextRef } from '@src/modules/tool/context-external-tool/domain';
import { ContextExternalToolService } from '@src/modules/tool/context-external-tool/service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Test, TestingModule } from '@nestjs/testing';
import { courseFactory, lessonFactory, setupEntities, shareTokenFactory, taskFactory } from '@shared/testing';
import { CourseService } from '@src/modules/learnroom/service/course.service';
import { LessonService } from '@src/modules/lesson/service';
import { TaskService } from '@src/modules/task';
import { TaskService } from '@src/modules/task/service';
import { ObjectId } from 'bson';
import { ShareTokenContextType, ShareTokenParentType } from '../domainobject/share-token.do';
import { ShareTokenRepo } from '../repo/share-token.repo';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common';
import { CourseService } from '@src/modules/learnroom/service/course.service';
import { LessonService } from '@src/modules/lesson/service';
import { TaskService } from '@src/modules/task';
import { TaskService } from '@src/modules/task/service';
import {
ShareTokenContext,
ShareTokenDO,
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/sharing/uc/share-token.uc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { CopyElementType, CopyStatus, CopyStatusEnum } from '@src/modules/copy-h
import { CourseCopyService } from '@src/modules/learnroom';
import { CourseService } from '@src/modules/learnroom/service/course.service';
import { LessonCopyService } from '@src/modules/lesson/service';
import { TaskCopyService } from '@src/modules/task';
import { TaskCopyService } from '@src/modules/task/service';
import { ShareTokenContextType, ShareTokenParentType, ShareTokenPayload } from '../domainobject/share-token.do';
import { ShareTokenService } from '../service';
import { ShareTokenUC } from './share-token.uc';
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/sharing/uc/share-token.uc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CopyStatus } from '@src/modules/copy-helper';
import { CourseCopyService } from '@src/modules/learnroom';
import { CourseService } from '@src/modules/learnroom/service/course.service';
import { LessonCopyService } from '@src/modules/lesson/service';
import { TaskCopyService } from '@src/modules/task';
import { TaskCopyService } from '@src/modules/task/service';
import {
ShareTokenContext,
ShareTokenContextType,
Expand Down
1 change: 0 additions & 1 deletion apps/server/src/modules/task/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './task.module';
export { TaskCopyService, TaskService } from './service';

0 comments on commit 5df4bc6

Please sign in to comment.