Changed format %s to %q for IDs in tpreader.go and currently testing versions on datadb/stordb

This commit is contained in:
nickolasdaniel
2021-07-05 16:51:47 +03:00
committed by Dan Christian Bogos
parent 49fdef7e09
commit cc7296bdb2
3 changed files with 540 additions and 28 deletions

View File

@@ -64,7 +64,7 @@ var (
testConsoleItRPCConn,
testConsoleItLoadTP,
testConsoleItCacheClear,
// testConsoleItDebitMax,
testConsoleItDebitMax,
testConsoleItThreshold,
testConsoleItThresholdsProfileIds,
testConsoleItThresholdsProfileSet,
@@ -75,7 +75,6 @@ var (
testConsoleItThresholdsProfileRemove,
testConsoleItTriggersSet,
testConsoleItTriggers,
testConsoleItSchedulerReload,
testConsoleItSchedulerExecute,
testConsoleItActionExecute,
@@ -180,7 +179,7 @@ var (
testConsoleItDispatchersHostRemove,
testConsoleItAccountActionPlanGet,
testConsoleItCacheItemIds,
// testConsoleItCacheItemExpiryTime,
testConsoleItCacheItemExpiryTime,
testConsoleItSessionProcessMessage,
testConsoleItSessionUpdate,
testConsoleItSessionInitiate,
@@ -190,7 +189,7 @@ var (
testConsoleItCacheRemoveGroup,
testConsoleItParse,
testConsoleItSchedulerQueue,
// testConsoleItCacheStats,
testConsoleItCacheStats,
testConsoleItReloadConfig,
testConsoleItKillEngine,
}
@@ -4550,7 +4549,7 @@ func testConsoleItDebitMax(t *testing.T) {
rcv.Timespans[0].Increments[0].BalanceInfo.Monetary.UUID = ""
rcv.Timespans[0].Increments[1].BalanceInfo.Monetary.UUID = ""
rcv.AccountSummary.BalanceSummaries[0].UUID = ""
if !reflect.DeepEqual(&rcv, expected) {
if !reflect.DeepEqual(rcv, expected) {
t.Fatalf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}
}