fix(backend): Fouten in de testen resulterend uit de aanpassingen opgelost.
This commit is contained in:
parent
7b79348985
commit
03fa7c7b14
4 changed files with 80 additions and 13 deletions
|
@ -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>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue