Skip to content

Commit

Permalink
Fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
CeEv committed Oct 12, 2023
1 parent 533cacc commit 2242973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import {
setupEntities,
userFactory,
} from '@shared/testing';
import { NotImplementedException } from '@nestjs/common';
import { Action, AuthorizationContext } from '../type';
import { AuthorizationHelper } from '../service/authorization.helper';
import { CourseGroupRule } from './course-group.rule';
import { CourseRule } from './course.rule';
import { LessonRule } from './lesson.rule';
import { AuthorizationContextBuilder } from '../mapper';
import { NotImplementedException } from '@nestjs/common';

describe('LessonRule', () => {
let rule: LessonRule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {
taskFactory,
userFactory,
} from '@shared/testing';
import { NotImplementedException } from '@nestjs/common';
import { Action, AuthorizationContext } from '../type';
import { AuthorizationHelper } from '../service/authorization.helper';
import { SubmissionRule } from './submission.rule';
import { TaskRule } from './task.rule';
import { CourseRule } from './course.rule';
import { LessonRule } from './lesson.rule';
import { CourseGroupRule } from './course-group.rule';
import { NotImplementedException } from '@nestjs/common';

const buildUserWithPermission = (permission) => {
const role = roleFactory.buildWithId({ permissions: [permission] });
Expand Down

0 comments on commit 2242973

Please sign in to comment.