Fixed the missing values on cache constants

This commit is contained in:
porosnicuadrian
2021-06-14 14:15:50 +03:00
committed by Dan Christian Bogos
parent b6bcdae579
commit 69d696ee49
6 changed files with 37 additions and 35 deletions

View File

@@ -55,8 +55,8 @@ var (
utils.ChargerProfilePrefix: {},
utils.DispatcherProfilePrefix: {},
utils.DispatcherHostPrefix: {},
utils.AccountFilterIndexPrfx: {},
utils.AccountPrefix: {},
utils.AccountFilterIndexPrfx: {},
utils.AccountPrefix: {},
utils.RateProfilePrefix: {},
utils.ActionProfilePrefix: {},
utils.AttributeFilterIndexes: {},

View File

@@ -73,7 +73,7 @@ func TestChargersmatchingChargerProfilesForEventErrPass(t *testing.T) {
}
experr := utils.ErrNotImplemented
rcv, err := cS.matchingChargerProfilesForEvent(context.Background(), cgrEv.Tenant, cgrEv)
rcv, err := cS.matchingChargerProfilesForEvent(context.Background(), cgrEv.Tenant, cgrEv)
if err == nil || err != experr {
t.Errorf("\nexpected: <%+v>, \nreceived: <%+v>", experr, err)