fix compliation errors after constant variable rename

This commit is contained in:
ionutboangiu
2026-01-14 09:52:44 +02:00
committed by Dan Christian Bogos
parent ec41867448
commit 2d831f50bc
2 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ func testLdPrMatchAcCDRSProcessEvent(t *testing.T) {
"ToR": "*voice",
},
APIOpts: map[string]any{
utils.MetaAccountSCost: map[string]any{
utils.MetaAccountsCost: map[string]any{
"Abstracts": 0,
"Accounting": map[string]any{},
"Accounts": map[string]any{

View File

@@ -220,7 +220,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
for costKey, want := range wantCosts {
switch costKey {
case utils.Abstracts, utils.Concretes:
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
if cd == nil {
t.Fatalf("Nil costDetails")
}
@@ -260,7 +260,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
for costKey, want := range wantCosts {
switch costKey {
case "abstracts", "concretes":
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
if cd == nil {
t.Fatalf("Nil costDetails")
}
@@ -288,7 +288,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
for costKey, want := range wantCosts {
switch costKey {
case utils.Abstracts, utils.Concretes:
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
if cd == nil {
t.Fatalf("Nil costDetails")
}