From 2d831f50bc72bd0b304b602706ed5e8c1fab520f Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Wed, 14 Jan 2026 09:52:44 +0200 Subject: [PATCH] fix compliation errors after constant variable rename --- general_tests/ld_process_match_ac_it_test.go | 2 +- sessions/basics_it_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/general_tests/ld_process_match_ac_it_test.go b/general_tests/ld_process_match_ac_it_test.go index 40cf2314a..74585a785 100644 --- a/general_tests/ld_process_match_ac_it_test.go +++ b/general_tests/ld_process_match_ac_it_test.go @@ -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{ diff --git a/sessions/basics_it_test.go b/sessions/basics_it_test.go index 07621492f..aa8c90283 100644 --- a/sessions/basics_it_test.go +++ b/sessions/basics_it_test.go @@ -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") }