From ecc693df7c8a8ee7bcfdc5b9e53a4ec3782fa7e5 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Tue, 26 Jan 2016 22:45:32 +0200 Subject: [PATCH] test double triggers and plans --- general_tests/tutorial_local_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/general_tests/tutorial_local_test.go b/general_tests/tutorial_local_test.go index 017c0f13f..209b00379 100644 --- a/general_tests/tutorial_local_test.go +++ b/general_tests/tutorial_local_test.go @@ -1170,7 +1170,8 @@ func TestTutLocalSetAccount(t *testing.T) { t.Error("Disabled should not be set") } } - attrs = &v2.AttrSetAccount{Tenant: "cgrates.org", Account: "tutacnt1", AllowNegative: utils.BoolPointer(true), Disabled: utils.BoolPointer(true), ReloadScheduler: true} + attrs = &v2.AttrSetAccount{Tenant: "cgrates.org", Account: "tutacnt1", ActionPlanIDs: &[]string{"PACKAGE_10"}, ActionTriggerIDs: &[]string{"STANDARD_TRIGGERS"}, AllowNegative: utils.BoolPointer(true), Disabled: utils.BoolPointer(true), ReloadScheduler: true} + if err := tutLocalRpc.Call("ApierV2.SetAccount", attrs, &reply); err != nil { t.Error("Got error on ApierV2.SetAccount: ", err.Error()) } else if reply != "OK" {