SEBSERV-417 removed debug code
This commit is contained in:
parent
8155d155c0
commit
b6e3772dcd
1 changed files with 1 additions and 13 deletions
|
@ -433,19 +433,7 @@ public class FullLmsIntegrationServiceImpl implements FullLmsIntegrationService
|
|||
return lmsAPITemplate
|
||||
.getQuiz(internalQuizId)
|
||||
.onError(error -> log.error("Failed to find quiz-data for id: {}", quizId))
|
||||
// this is only for debugging until Moodle Plugin is ready
|
||||
.getOr(new QuizData(
|
||||
MoodleUtils.getInternalQuizId(quizId, courseId, "MoodlePluginMockQuiz", null),
|
||||
lmsAPITemplate.lmsSetup().institutionId,
|
||||
lmsAPITemplate.lmsSetup().id,
|
||||
lmsAPITemplate.lmsSetup().lmsType,
|
||||
"MoodlePluginMockQuiz",
|
||||
"",
|
||||
DateTime.now(),
|
||||
DateTime.now().plusDays(1),
|
||||
"https://mockmoodle/swvgfrwef.sdvw",
|
||||
null
|
||||
));
|
||||
.getOrThrow();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue