refactor(backend): equality

This commit is contained in:
Tibo De Peuter 2025-03-22 18:50:22 +01:00
parent 10d3d0567e
commit 6ad7fbf208
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
3 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ describe('AnswerRepository', () => {
const id = new LearningObjectIdentifier('id05', Language.English, 1);
const questions = await questionRepository.findAllQuestionsAboutLearningObject(id);
const question = questions.filter((it) => it.sequenceNumber == 2)[0];
const question = questions.filter((it) => it.sequenceNumber === 2)[0];
const answers = await answerRepository.findAllAnswersToQuestion(question);