mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Changed Weights from float64 to DynamicWeights for Resources and Chargers
This commit is contained in:
committed by
Dan Christian Bogos
parent
74700402f2
commit
fad736e5a6
@@ -94,7 +94,7 @@ func TestLoadResourceProfiles(t *testing.T) {
|
||||
FilterIDs: []string{"*string:~*req.Account:1001"},
|
||||
UsageTTL: "1s",
|
||||
AllocationMessage: "call",
|
||||
Weight: 10,
|
||||
Weights: ";10",
|
||||
Limit: "2",
|
||||
Blocker: true,
|
||||
Stored: true,
|
||||
@@ -108,7 +108,7 @@ func TestLoadResourceProfiles(t *testing.T) {
|
||||
AllocationMessage: "premium_call",
|
||||
Blocker: true,
|
||||
Stored: true,
|
||||
Weight: 10,
|
||||
Weights: ";10",
|
||||
Limit: "2",
|
||||
},
|
||||
}
|
||||
@@ -441,7 +441,7 @@ func TestLoadChargerProfiles(t *testing.T) {
|
||||
FilterIDs: []string{"*string:~*req.Account:1001"},
|
||||
RunID: "*rated",
|
||||
AttributeIDs: []string{"ATTR_1001_SIMPLEAUTH"},
|
||||
Weight: 20,
|
||||
Weights: ";20",
|
||||
},
|
||||
}
|
||||
cppKey := utils.TenantID{Tenant: "cgrates.org", ID: "Charger1"}
|
||||
|
||||
Reference in New Issue
Block a user