mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Fix failing integration test in config
This commit is contained in:
committed by
Dan Christian Bogos
parent
58ecfc28e9
commit
82edb970ba
@@ -1126,7 +1126,7 @@ func testLoadConfigFromFolderFileNotFound(t *testing.T) {
|
||||
cfg := NewDefaultCGRConfig()
|
||||
|
||||
expected := "file </usr/share/cgrates/conf/samples/docker/cgrates.json>: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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user