mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Refactor balance's Factor field name with its plural form
Stored balances previous to this commit, that had a non-nil Factors map, will now have Factors nil due to field name mismatch.
This commit is contained in:
committed by
Dan Christian Bogos
parent
45066b2d2f
commit
bd4aa99458
@@ -2055,7 +2055,7 @@ func testConsoleItAccounts(t *testing.T) {
|
||||
"DestinationIDs": map[string]any{},
|
||||
"Disabled": false,
|
||||
"ExpirationDate": "0001-01-01T00:00:00Z",
|
||||
"Factor": nil,
|
||||
"Factors": nil,
|
||||
"ID": "test",
|
||||
"RatingSubject": "",
|
||||
"SharedGroups": map[string]any{},
|
||||
@@ -2474,7 +2474,7 @@ func testConsoleItTriggers(t *testing.T) {
|
||||
"DestinationIDs": nil,
|
||||
"Disabled": nil,
|
||||
"ExpirationDate": nil,
|
||||
"Factor": nil,
|
||||
"Factors": nil,
|
||||
"ID": nil,
|
||||
"RatingSubject": nil,
|
||||
"SharedGroups": nil,
|
||||
|
||||
Reference in New Issue
Block a user