From 272dff4b630d239b6a2df4ed9d8991c64f8695c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Fri, 22 Nov 2019 14:57:36 +0100 Subject: [PATCH] fix loop in loading settings from map --- .../src/test/java/org/xbib/content/settings/SettingsTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content-core/src/test/java/org/xbib/content/settings/SettingsTest.java b/content-core/src/test/java/org/xbib/content/settings/SettingsTest.java index 4ac3452..00a6fd8 100644 --- a/content-core/src/test/java/org/xbib/content/settings/SettingsTest.java +++ b/content-core/src/test/java/org/xbib/content/settings/SettingsTest.java @@ -171,8 +171,9 @@ public class SettingsTest extends Assert { map.put("code", code); map.put("name", name); map.put("list", list); + map.put("null", null); JsonSettingsLoader loader = new JsonSettingsLoader(); Map result = loader.load(map); - assertEquals("{code.a=b, code.b=c, name.a=b, name.b=c, list.0=a, list.1=b}", result.toString()); + assertEquals("{code.a=b, code.b=c, name.a=b, name.b=c, list.0=a, list.1=b, null=null}", result.toString()); } }