From 92207cf2c370e54e5539093e8d630e8b6a39f6b6 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 27 Sep 2021 10:48:58 +0200 Subject: [PATCH] fixed tests --- .../seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java index f2640c23..c78a8a92 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java @@ -87,7 +87,7 @@ public final class ConfigurationNode implements GrantEntity { this.templateId = (templateId != null) ? templateId : DEFAULT_TEMPLATE_ID; this.name = name; this.description = description; - this.type = type; + this.type = (type != null) ? type : ConfigurationType.EXAM_CONFIG; this.owner = owner; this.status = status; }