refactor(backend): equality
This commit is contained in:
		
							parent
							
								
									10d3d0567e
								
							
						
					
					
						commit
						6ad7fbf208
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -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); | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue