mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
added fixes for integration tests & added *none in threshold ees_ids to disable processing
This commit is contained in:
committed by
Dan Christian Bogos
parent
6d206954bd
commit
d6676866d5
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
func init() {
|
||||
c := &CmdResetStatQueue{
|
||||
name: "stat_reset_queue",
|
||||
name: "stats_reset_queue",
|
||||
rpcMethod: utils.StatSv1ResetStatQueue,
|
||||
rpcParams: &utils.TenantIDWithAPIOpts{},
|
||||
}
|
||||
@@ -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 {
|
||||
Reference in New Issue
Block a user