Small fix to only load defaults once in tests

This commit is contained in:
DanB
2016-11-10 18:40:36 +01:00
parent 65ee8a1131
commit 543fe0fb23

View File

@@ -132,7 +132,7 @@ func TestCgrCfgCDRC(t *testing.T) {
}
func TestCgrCfgLoadJSONDefaults(t *testing.T) {
cgrCfg, err = NewCGRConfigFromJsonStringWithDefaults(CGRATES_CFG_JSON)
cgrCfg, err = NewDefaultCGRConfig()
if err != nil {
t.Error(err)
}