Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Oct 17, 2023
1 parent f260ef4 commit 5e309d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export * from './context-external-tool-context.params';
export * from './context-external-tool.response';
export * from './tool-reference-list.response';
export * from './tool-reference.response';
export * from './tool-configuration-status.response';
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import {
userFactory,
} from '@shared/testing';
import { ServerTestModule } from '@src/modules/server';
import { ToolConfigurationStatusResponse } from '../../../context-external-tool/controller/dto/tool-configuration-status.response';
import { ExternalToolEntity } from '../../../external-tool/entity';
import { SchoolExternalToolEntity } from '../../entity';
import {
CustomParameterEntryParam,
SchoolExternalToolPostParams,
SchoolExternalToolResponse,
SchoolExternalToolSearchListResponse,
SchoolExternalToolSearchParams,
} from '../dto';
import { ToolConfigurationStatusResponse } from '../../../external-tool/controller/dto';
import { SchoolExternalToolEntity } from '../../entity';
import { ExternalToolEntity } from '../../../external-tool/entity';

describe('ToolSchoolController (API)', () => {
let app: INestApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { schoolExternalToolFactory } from '@shared/testing/factory';
import { ToolConfigurationStatusResponse } from '../../external-tool/controller/dto';
import { ToolConfigurationStatusResponse } from '../../context-external-tool/controller/dto';
import { SchoolExternalToolResponse, SchoolExternalToolSearchListResponse } from '../controller/dto';
import { SchoolExternalTool } from '../domain';
import { SchoolExternalToolResponseMapper } from './school-external-tool-response.mapper';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common';
import { CustomParameterEntry } from '../../common/domain';
import { ToolStatusResponseMapper } from '../../common/mapper/tool-status-response.mapper';
import { ToolConfigurationStatusResponse } from '../../context-external-tool/controller/dto/tool-configuration-status.response';
import { ToolConfigurationStatusResponse } from '../../context-external-tool/controller/dto';
import {
CustomParameterEntryResponse,
SchoolExternalToolResponse,
Expand All @@ -27,7 +27,7 @@ export class SchoolExternalToolResponseMapper {
parameters: this.mapToCustomParameterEntryResponse(schoolExternalTool.parameters),
toolVersion: schoolExternalTool.toolVersion,
status: schoolExternalTool.status
? ToolStatusResponseMapper.mapToResponse[schoolExternalTool.status]
? ToolStatusResponseMapper.mapToResponse(schoolExternalTool.status)
: ToolConfigurationStatusResponse.UNKNOWN,
};
}
Expand Down

0 comments on commit 5e309d6

Please sign in to comment.