Fixed tests

This commit is contained in:
andronache
2021-01-11 11:37:29 +02:00
committed by Dan Christian Bogos
parent 3e51f58d8c
commit 5ac350031a
2 changed files with 14 additions and 13 deletions

View File

@@ -2326,18 +2326,19 @@ func testOnStorITAccountProfile(t *testing.T) {
ExpiryTime: time.Date(2014, 7, 15, 14, 25, 0, 0, time.UTC),
},
Weight: 2,
Balances: []*utils.Balance{{
ID: "VoiceBalance",
FilterIDs: []string{"FLTR_RES_GR2"},
Weight: 10,
Type: utils.MetaVoice,
Units: &utils.Decimal{
new(decimal.Big).SetUint64(10),
},
Opts: map[string]interface{}{
"key1": "val1",
},
}},
Balances: map[string]*utils.Balance{
"VoiceBalance": {
ID: "VoiceBalance",
FilterIDs: []string{"FLTR_RES_GR2"},
Weight: 10,
Type: utils.MetaVoice,
Units: &utils.Decimal{
new(decimal.Big).SetUint64(10),
},
Opts: map[string]interface{}{
"key1": "val1",
},
}},
ThresholdIDs: []string{"test_thrs"},
}

View File

@@ -261,7 +261,7 @@ NOT_UINT
utils.MetaFilters: {
{Tag: "PK",
Path: "PK",
Type: utils.utils.MetaComposed,
Type: utils.MetaComposed,
Value: config.NewRSRParsersMustCompile("~*req.0", utils.FieldsSep)},
},
}