Replaced methods names with constants in accountd_it_test

This commit is contained in:
Trial97
2019-11-18 09:06:54 +02:00
committed by Dan Christian Bogos
parent 1ee6a98fac
commit 71fe3a2813
28 changed files with 81 additions and 79 deletions

View File

@@ -26,7 +26,7 @@ import (
func init() {
c := &CmdAddBalance{
name: "balance_add",
rpcMethod: "ApierV1.AddBalance",
rpcMethod: utils.ApierV1AddBalance,
}
commands[c.Name()] = c
c.CommandExecuter = &CommandExecuter{c}

View File

@@ -23,7 +23,7 @@ import "github.com/cgrates/cgrates/apier/v1"
func init() {
c := &CmdBalanceDebit{
name: "balance_debit",
rpcMethod: "ApierV1.DebitBalance",
rpcMethod: utils.ApierV1DebitBalance,
}
commands[c.Name()] = c
c.CommandExecuter = &CommandExecuter{c}

View File

@@ -25,7 +25,7 @@ import (
func init() {
c := &CmdSetBalance{
name: "balance_set",
rpcMethod: "ApierV1.SetBalance",
rpcMethod: utils.ApierV1SetBalance,
}
commands[c.Name()] = c
c.CommandExecuter = &CommandExecuter{c}