mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fixed tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
3e51f58d8c
commit
5ac350031a
@@ -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"},
|
||||
}
|
||||
|
||||
|
||||
@@ -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)},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user