mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
fix compliation errors after constant variable rename
This commit is contained in:
committed by
Dan Christian Bogos
parent
ec41867448
commit
2d831f50bc
@@ -187,7 +187,7 @@ func testLdPrMatchAcCDRSProcessEvent(t *testing.T) {
|
|||||||
"ToR": "*voice",
|
"ToR": "*voice",
|
||||||
},
|
},
|
||||||
APIOpts: map[string]any{
|
APIOpts: map[string]any{
|
||||||
utils.MetaAccountSCost: map[string]any{
|
utils.MetaAccountsCost: map[string]any{
|
||||||
"Abstracts": 0,
|
"Abstracts": 0,
|
||||||
"Accounting": map[string]any{},
|
"Accounting": map[string]any{},
|
||||||
"Accounts": map[string]any{
|
"Accounts": map[string]any{
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
|
|||||||
for costKey, want := range wantCosts {
|
for costKey, want := range wantCosts {
|
||||||
switch costKey {
|
switch costKey {
|
||||||
case utils.Abstracts, utils.Concretes:
|
case utils.Abstracts, utils.Concretes:
|
||||||
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
|
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
|
||||||
if cd == nil {
|
if cd == nil {
|
||||||
t.Fatalf("Nil costDetails")
|
t.Fatalf("Nil costDetails")
|
||||||
}
|
}
|
||||||
@@ -260,7 +260,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
|
|||||||
for costKey, want := range wantCosts {
|
for costKey, want := range wantCosts {
|
||||||
switch costKey {
|
switch costKey {
|
||||||
case "abstracts", "concretes":
|
case "abstracts", "concretes":
|
||||||
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
|
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
|
||||||
if cd == nil {
|
if cd == nil {
|
||||||
t.Fatalf("Nil costDetails")
|
t.Fatalf("Nil costDetails")
|
||||||
}
|
}
|
||||||
@@ -288,7 +288,7 @@ cgrates.org,RP_FALLBACK,,;0,,,,RT_FALLBACK,*string:~*req.Destination:1002,"* * *
|
|||||||
for costKey, want := range wantCosts {
|
for costKey, want := range wantCosts {
|
||||||
switch costKey {
|
switch costKey {
|
||||||
case utils.Abstracts, utils.Concretes:
|
case utils.Abstracts, utils.Concretes:
|
||||||
cd := getCostDetails(t, cdr, utils.MetaAccountSCost)
|
cd := getCostDetails(t, cdr, utils.MetaAccountsCost)
|
||||||
if cd == nil {
|
if cd == nil {
|
||||||
t.Fatalf("Nil costDetails")
|
t.Fatalf("Nil costDetails")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user