mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replaced methods names with constants in accountd_it_test
This commit is contained in:
committed by
Dan Christian Bogos
parent
1ee6a98fac
commit
71fe3a2813
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user