Add *generic in balance_rating_subject

This commit is contained in:
TeoV
2019-05-14 09:47:43 +03:00
committed by Dan Christian Bogos
parent aaf54e5c1c
commit 51e2ab9206
3 changed files with 3 additions and 0 deletions

View File

@@ -180,6 +180,7 @@ const CGRATES_CFG_JSON = `
"*data": "*zero1ns",
"*sms": "*zero1ns",
"*monetary":"*zero1ns",
"*generic":"*zero1ns",
},
},

View File

@@ -245,6 +245,7 @@ func TestDfRalsJsonCfg(t *testing.T) {
utils.DATA: "*zero1ns",
utils.SMS: "*zero1ns",
utils.MONETARY: "*zero1ns",
utils.GENERIC: "*zero1ns",
},
}
if cfg, err := dfCgrJsonCfg.RalsJsonCfg(); err != nil {

View File

@@ -480,6 +480,7 @@ func TestCgrCfgJSONDefaultsRALs(t *testing.T) {
utils.DATA: "*zero1ns",
utils.SMS: "*zero1ns",
utils.MONETARY: "*zero1ns",
utils.GENERIC: "*zero1ns",
}
if !reflect.DeepEqual(eBalRatingSbj, cgrCfg.RalsCfg().RALsBalanceRatingSubject) {
t.Errorf("Expecting: %+v , received: %+v", eBalRatingSbj, cgrCfg.RalsCfg().RALsBalanceRatingSubject)