diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java index aaf24ce6..978656e1 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java @@ -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(); }; }