Commit Graph

26 Commits

Author SHA1 Message Date
ionutboangiu
2c607a26d0 Test Balances func in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
36aa85d842 Test Sort for balances in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
bd55e86c84 Test TenantIDs func in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
b62adefb48 Test LockIDs func in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
c6888ee120 Test AccountProfiles func in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
35fa23394a Test Sort for acc profiles in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
34cd10ea20 Remove '_' from test names 2021-03-05 11:50:13 +01:00
ionutboangiu
1be12d891c Test NewDefaultBalance func in utils/accountprofile.go 2021-03-05 11:50:13 +01:00
ionutboangiu
b7672bc62c Remove print function 2021-03-03 20:22:21 +01:00
ionutboangiu
9fc24e6a1a Test AccountBalancesBackup func in utils/accountprofile.go 2021-03-03 20:22:21 +01:00
ionutboangiu
14f3d31801 Test RestoreFromBackup func in utils/accountprofile.go 2021-03-03 20:22:21 +01:00
ionutboangiu
6af41544bc Test BalancesAltered func in utils/accountprofile.go 2021-03-02 20:08:15 +01:00
porosnicuadrian
b0937e13eb Tests for utils package 2021-02-16 18:18:32 +01:00
porosnicuadrian
db53fa7df1 Removed BalanceBlocker field from Balance 2021-02-15 20:28:00 +01:00
porosnicuadrian
f5e7c522bf New fields in accountProfile - Opts and Weights as DynamicWeights 2021-02-12 17:39:22 +01:00
DanB
ce49256a4d AccountS - Balance ordering based on dynamic weight, CGREvent.AsDatProvider() 2021-02-11 20:16:43 +01:00
porosnicuadrian
a02e431098 Modified clone method for Balance 2021-02-11 10:27:39 +01:00
porosnicuadrian
21dff26a35 Updated clone method for accountProfile 2021-02-11 10:27:39 +01:00
TeoV
34d17d0307 Add RateProfileIDs to Balance struct and rename from CostAttributes to AttributeIDs ( same as from ChargerProfile ) 2021-01-19 13:12:52 +01:00
porosnicuadrian
5a3d48a9ea Removed error from decimal convert func + tests in utils 2021-01-12 12:49:31 +01:00
porosnicuadrian
db7f982169 Cover tests in utils package 2021-01-12 12:49:31 +01:00
TeoV
fd3d0fd8c2 Update on AccountProfile from []*Balance to map[string]*Balance 2021-01-08 17:53:59 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +01:00
TeoV
1ff5adfa9d Rename from BalanceValue to BalanceUnits for AccountProfile 2021-01-06 15:50:23 +01:00
TeoV
6887863ed1 Update encoding for Get/Set AccountProfile for DataManager 2021-01-06 13:56:03 +01:00
porosnicuadrian
7ae311de6a Clone function in accountprofile + tests 2021-01-04 17:09:09 +01:00