fix(backend): Merge-conflicten opgelost & testen gerepareerd.
This commit is contained in:
parent
d6dd7fb3bf
commit
620a988c6b
8 changed files with 23 additions and 9 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue