From 0115ba92c3eba2937ddc0c204c49ac14f549b179 Mon Sep 17 00:00:00 2001 From: dyedwiper Date: Thu, 9 Nov 2023 11:56:36 +0100 Subject: [PATCH] Fix schoolFactory --- .../server/src/modules/school/domain/testing/school.factory.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/server/src/modules/school/domain/testing/school.factory.ts b/apps/server/src/modules/school/domain/testing/school.factory.ts index 4a6e08f53c7..2f800e2b391 100644 --- a/apps/server/src/modules/school/domain/testing/school.factory.ts +++ b/apps/server/src/modules/school/domain/testing/school.factory.ts @@ -1,6 +1,7 @@ import { BaseFactory } from '@shared/testing'; import { ObjectId } from 'bson'; import { School, SchoolProps } from '../do'; +import { SchoolFeature } from '../type'; import { federalStateFactory } from './federal-state.factory'; import { schoolYearFactory } from './school-year.factory'; @@ -10,6 +11,6 @@ export const schoolFactory = BaseFactory.define(School, ({ name: `school #${sequence}`, currentYear: schoolYearFactory.build(), federalState: federalStateFactory.build(), - features: new Set(), + features: new Set(), }; });