fix: verwijder test, endpoint weg

This commit is contained in:
Gabriellvl 2025-05-13 10:18:43 +02:00
parent 8d5c46450e
commit f9be72d176

View file

@ -155,27 +155,6 @@ describe('Teacher controllers', () => {
expect(result.students.length).toBeGreaterThan(0);
});
/*
It('Get teacher questions', async () => {
req = {
params: { username: 'FooFighters' },
query: { full: 'true' },
};
await getTeacherQuestionHandler(req as Request, res as Response);
expect(jsonMock).toHaveBeenCalledWith(expect.objectContaining({ questions: expect.anything() }));
const result = jsonMock.mock.lastCall?.[0];
// console.log('[TEACHER QUESTIONS]', result.questions);
expect(result.questions.length).toBeGreaterThan(0);
// TODO fix
});
*/
it('Get join requests by class', async () => {
const jr = getClassJoinRequest01();
req = {