NEW configuration format - cgrates.json

This commit is contained in:
DanB
2015-01-18 12:54:07 +01:00
parent bf27fa3512
commit 6126b69c4e
55 changed files with 1355 additions and 3834 deletions

View File

@@ -40,9 +40,9 @@ func TestInitCfg(t *testing.T) {
return
}
// Init config first
tutCfgPath = path.Join(*dataDir, "conf", "samples", "tutorial_local_test.cfg")
tutCfgPath = path.Join(*dataDir, "conf", "samples", "tutorial")
var err error
tutCfg, err = config.NewCGRConfigFromFile(&tutCfgPath)
tutCfg, err = config.NewCGRConfigFromFolder(tutCfgPath)
if err != nil {
t.Error(err)
}