From c3c7a23ccd0cad9e704c380bd0874d28f618e2c8 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Thu, 12 Mar 2026 09:14:27 +0100 Subject: [PATCH] added test --- .../org/cryptomator/common/settings/SettingsJsonTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/cryptomator/common/settings/SettingsJsonTest.java b/src/test/java/org/cryptomator/common/settings/SettingsJsonTest.java index a73431681..4b660f0f4 100644 --- a/src/test/java/org/cryptomator/common/settings/SettingsJsonTest.java +++ b/src/test/java/org/cryptomator/common/settings/SettingsJsonTest.java @@ -29,7 +29,8 @@ public class SettingsJsonTest { "checkForUpdatesEnabled": true, "port": 8080, "language": "de-DE", - "numTrayNotifications": 42 + "numTrayNotifications": 42, + "trustedHosts": null } """; @@ -44,6 +45,7 @@ public class SettingsJsonTest { Assertions.assertTrue(jsonObj.autoCloseVaults); Assertions.assertEquals("de-DE", jsonObj.language); Assertions.assertEquals(42, jsonObj.numTrayNotifications); + Assertions.assertEquals(0, jsonObj.trustedHosts.size()); } @SuppressWarnings("SpellCheckingInspection")