Skip to content

Commit

Permalink
requested test change
Browse files Browse the repository at this point in the history
  • Loading branch information
meltemarsl committed Jan 14, 2025
1 parent 7b2152c commit edc9261
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import static org.mockito.Mockito.eq;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.timeout;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;

import java.time.Duration;
Expand Down Expand Up @@ -899,8 +898,7 @@ void testUpdateWorkingTime_ShouldTriggerUnlock() throws Exception {

assertThat(updatedExam).isNotNull();
assertThat(updatedExam.getWorkingTime()).isEqualTo(newWorkingTime);

verify(programmingExerciseParticipationService, times(1)).unlockStudentRepositoryAndParticipation(participation);
assertThat(participation.isLocked()).isFalse();
}

private ExamLiveEventBaseDTO captureExamLiveEventForId(Long studentExamOrExamId, boolean examWide) {
Expand Down

0 comments on commit edc9261

Please sign in to comment.