summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/system_test.go')
-rw-r--r--api4/system_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/api4/system_test.go b/api4/system_test.go
index 850705040..62a2a6443 100644
--- a/api4/system_test.go
+++ b/api4/system_test.go
@@ -67,6 +67,9 @@ func TestGetConfig(t *testing.T) {
if !strings.Contains(strings.Join(cfg.SqlSettings.DataSourceReplicas, " "), model.FAKE_SETTING) && len(cfg.SqlSettings.DataSourceReplicas) != 0 {
t.Fatal("did not sanitize properly")
}
+ if !strings.Contains(strings.Join(cfg.SqlSettings.DataSourceSearchReplicas, " "), model.FAKE_SETTING) && len(cfg.SqlSettings.DataSourceSearchReplicas) != 0 {
+ t.Fatal("did not sanitize properly")
+ }
}
func TestReloadConfig(t *testing.T) {