set default LMSSetup type to "Testing"

This commit is contained in:
anhefti 2021-08-30 11:25:10 +02:00
parent ac214401e1
commit ea9de0e60d
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ public final class LmsSetup implements GrantEntity, Activatable {
/** The Moodle binding features only the course access API so far */ /** The Moodle binding features only the course access API so far */
MOODLE(Features.COURSE_API /* , Features.SEB_RESTRICTION */), MOODLE(Features.COURSE_API /* , Features.SEB_RESTRICTION */),
/** The Ans Delft binding is on the way */ /** The Ans Delft binding is on the way */
ANS_DELFT(), ANS_DELFT(Features.COURSE_API, Features.SEB_RESTRICTION),
/** The OpenOLAT binding is on the way */ /** The OpenOLAT binding is on the way */
OPEN_OLAT(Features.COURSE_API, Features.SEB_RESTRICTION); OPEN_OLAT(Features.COURSE_API, Features.SEB_RESTRICTION);

View file

@ -357,7 +357,7 @@ public class LmsSetupForm implements TemplateComposer {
} }
try { try {
return this.resourceService.lmsTypeResources().get(0)._1; return LmsType.MOCKUP.name();
} catch (final Exception e) { } catch (final Exception e) {
return null; return null;
} }