fixed exam update task : has changed test

This commit is contained in:
anhefti 2022-11-10 11:08:42 +01:00
parent 936c80f226
commit c5ff3b0369

View file

@ -338,7 +338,7 @@ class ExamUpdateHandler {
}
private boolean hasChanges(final Exam exam, final QuizData quizData) {
if (Utils.isEqualsWithEmptyCheck(exam.name, quizData.name) ||
if (!Utils.isEqualsWithEmptyCheck(exam.name, quizData.name) ||
!Objects.equals(exam.startTime, quizData.startTime) ||
!Objects.equals(exam.endTime, quizData.endTime) ||
!Utils.isEqualsWithEmptyCheck(exam.getDescription(), quizData.description) ||