fix(backend): Merge-conflicten opgelost & testen gerepareerd.

This commit is contained in:
Gerald Schmittinger 2025-04-09 23:59:27 +02:00
parent d6dd7fb3bf
commit 620a988c6b
8 changed files with 23 additions and 9 deletions

View file

@ -32,7 +32,7 @@ describe('AssignmentRepository', () => {
});
it('should find all by username of the responsible teacher', async () => {
const result = await assignmentRepository.findAllByResponsibleTeacher('FooFighters');
const result = await assignmentRepository.findAllByResponsibleTeacher('testleerkracht1');
const resultIds = result.map((it) => it.id).sort((a, b) => (a ?? 0) - (b ?? 0));
expect(resultIds).toEqual([1, 3, 4]);