Merge remote-tracking branch 'origin/dev-1.2' into SEBSERV-191
This commit is contained in:
commit
32d8c8a978
2 changed files with 5 additions and 3 deletions
|
@ -202,7 +202,8 @@ public class SEBRestrictionServiceImpl implements SEBRestrictionService {
|
|||
.map(sebRestrictionData -> {
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Applying SEB Client restriction on LMS with: {}", sebRestrictionData);
|
||||
log.debug(" *** SEB Restriction *** Applying SEB Client restriction on LMS with: {}",
|
||||
sebRestrictionData);
|
||||
}
|
||||
|
||||
return this.lmsAPIService
|
||||
|
@ -221,7 +222,7 @@ public class SEBRestrictionServiceImpl implements SEBRestrictionService {
|
|||
public Result<Exam> releaseSEBClientRestriction(final Exam exam) {
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Release SEB Client restrictions for exam: {}", exam);
|
||||
log.debug(" *** SEB Restriction *** Release SEB Client restrictions from LMS for exam: {}", exam);
|
||||
}
|
||||
|
||||
return this.lmsAPIService
|
||||
|
|
|
@ -51,7 +51,8 @@ public class ExamProctoringRoomServiceTest extends AdministrationAPIIntegrationT
|
|||
assertFalse(runningExamsForInstitution.hasError());
|
||||
final Collection<Exam> collection = runningExamsForInstitution.get();
|
||||
assertFalse(collection.isEmpty());
|
||||
final Exam exam = collection.iterator().next();
|
||||
final Exam exam = collection.stream().filter(e -> e.id == 2L).findAny().orElse(null);
|
||||
assertNotNull(exam);
|
||||
assertEquals("Demo Quiz 6 (MOCKUP)", exam.name);
|
||||
assertEquals("2", String.valueOf(exam.id));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue