Add Factor map and Weight to BalanceSummaries

Added additional tests + updated old ones.
This commit is contained in:
ionutboangiu
2024-03-22 14:38:40 -04:00
committed by Dan Christian Bogos
parent 699989a336
commit 6d61fd479d
5 changed files with 88 additions and 4 deletions

View File

@@ -2184,8 +2184,8 @@ func TestAccountAsAccountDigest(t *testing.T) {
{ID: "data1", Type: utils.MetaData, Value: 1204, Disabled: false},
{ID: "sms1", Type: utils.MetaSMS, Value: 14, Disabled: false},
{ID: "mms1", Type: utils.MetaMMS, Value: 140, Disabled: false},
{ID: "voice1", Type: utils.MetaVoice, Value: 3600, Disabled: false},
{ID: "voice2", Type: utils.MetaVoice, Value: 1200, Disabled: false},
{ID: "voice1", Type: utils.MetaVoice, Weight: 20, Value: 3600, Disabled: false},
{ID: "voice2", Type: utils.MetaVoice, Weight: 10, Value: 1200, Disabled: false},
},
AllowNegative: true,
Disabled: false,