From 9d5f27eb3feafb5d2c3bebfc135fbcf84e122d38 Mon Sep 17 00:00:00 2001 From: MajedAlaitwniCap Date: Thu, 26 Oct 2023 08:55:27 +0200 Subject: [PATCH] initial commit --- .../tool/common/mapper/context-type.mapper.spec.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 apps/server/src/modules/tool/common/mapper/context-type.mapper.spec.ts diff --git a/apps/server/src/modules/tool/common/mapper/context-type.mapper.spec.ts b/apps/server/src/modules/tool/common/mapper/context-type.mapper.spec.ts deleted file mode 100644 index b05f50fc46c..00000000000 --- a/apps/server/src/modules/tool/common/mapper/context-type.mapper.spec.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { AuthorizableReferenceType } from '@modules/authorization/domain'; -import { ToolContextType } from '../enum'; -import { ContextTypeMapper } from './context-type.mapper'; - -describe('context-type.mapper', () => { - it('should map ToolContextType.COURSE to AuthorizableReferenceType.Course', () => { - const mappedCourse = ContextTypeMapper.mapContextTypeToAllowedAuthorizationEntityType(ToolContextType.COURSE); - - expect(mappedCourse).toEqual(AuthorizableReferenceType.Course); - }); -});