fix(backend): Fouten in de testen resulterend uit de aanpassingen opgelost.

This commit is contained in:
Gerald Schmittinger 2025-04-07 15:59:07 +02:00
parent 7b79348985
commit 03fa7c7b14
4 changed files with 80 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import { Entity, Enum, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
import {Collection, Entity, Enum, ManyToOne, OneToMany, PrimaryKey, Property} from '@mikro-orm/core';
import { Class } from '../classes/class.entity.js';
import { Group } from './group.entity.js';
import { Language } from '@dwengo-1/common/util/language';
@ -35,5 +35,5 @@ export class Assignment {
entity: () => Group,
mappedBy: 'assignment',
})
groups!: Group[];
groups!: Collection<Group>;
}