added fixes for integration tests & added *none in threshold ees_ids to disable processing

This commit is contained in:
gezimbll
2025-05-26 15:26:58 +02:00
committed by Dan Christian Bogos
parent 6d206954bd
commit d6676866d5
17 changed files with 43 additions and 58 deletions

View File

@@ -24,7 +24,7 @@ import (
func init() {
c := &CmdResetStatQueue{
name: "stat_reset_queue",
name: "stats_reset_queue",
rpcMethod: utils.StatSv1ResetStatQueue,
rpcParams: &utils.TenantIDWithAPIOpts{},
}

View File

@@ -27,8 +27,8 @@ import (
"github.com/cgrates/cgrates/utils"
)
func TestCmdStatResetQueue(t *testing.T) {
command := commands["stat_reset_queue"]
func TestCmdStatsResetQueue(t *testing.T) {
command := commands["stats_reset_queue"]
// verify if StatSv1 object has method on it
m, ok := reflect.TypeOf(new(v1.StatSv1)).MethodByName(strings.Split(command.RpcMethod(), utils.NestingSep)[1])
if !ok {