mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
Fixed tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
415c879b95
commit
3afb231108
@@ -1355,7 +1355,7 @@ func testApierSetAccountActionTriggers(t *testing.T) {
|
||||
t.Errorf("Unexpected action triggers received %v", reply)
|
||||
}
|
||||
var setReply string
|
||||
setReq := AttrSetAccountActionTriggers{
|
||||
setReq := &AttrSetAccountActionTriggers{
|
||||
Tenant: "cgrates.org",
|
||||
Account: "dan2",
|
||||
AttrSetActionTrigger: AttrSetActionTrigger{
|
||||
|
||||
@@ -20,7 +20,6 @@ package v1
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -165,7 +164,6 @@ type AttrResetAccountActionTriggers struct {
|
||||
}
|
||||
|
||||
func (apierSv1 *APIerSv1) ResetAccountActionTriggers(attr *AttrResetAccountActionTriggers, reply *string) error {
|
||||
fmt.Println("yay")
|
||||
if missing := utils.MissingStructFields(&attr, []string{utils.AccountField}); len(missing) != 0 {
|
||||
return utils.NewErrMandatoryIeMissing(missing...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user