From 82edb970ba88e52f283f8ea239041e9d262df33c Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Mon, 25 Oct 2021 16:14:09 +0300 Subject: [PATCH] Fix failing integration test in config --- config/config_it_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config_it_test.go b/config/config_it_test.go index 647858997..8d0822625 100644 --- a/config/config_it_test.go +++ b/config/config_it_test.go @@ -1126,7 +1126,7 @@ func testLoadConfigFromFolderFileNotFound(t *testing.T) { cfg := NewDefaultCGRConfig() expected := "file :NOT_FOUND:ENV_VAR:DOCKER_IP" - if err = loadConfigFromFolder(context.Background(), "/usr/share/cgrates/conf/samples/", + if err = loadConfigFromFolder(context.Background(), "/usr/share/cgrates/conf/samples/docker", cfg.sections, false, cfg); err == nil || err.Error() != expected { t.Errorf("Expected %+v, received %+v", expected, err) }