From 430837ba5b463dded1295f98f4fabec281db9136 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 25 Jan 2016 10:38:29 +0200 Subject: [PATCH] fix general tests --- general_tests/acntacts_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/general_tests/acntacts_test.go b/general_tests/acntacts_test.go index 572f60180..524e0fb1e 100644 --- a/general_tests/acntacts_test.go +++ b/general_tests/acntacts_test.go @@ -23,6 +23,7 @@ import ( "testing" "github.com/cgrates/cgrates/engine" + "github.com/cgrates/cgrates/utils" ) var ratingDbAcntActs engine.RatingStorage @@ -77,7 +78,7 @@ func TestAcntActsDisableAcnt(t *testing.T) { at := &engine.ActionTiming{ ActionsID: "DISABLE_ACNT", } - at.SetAccountIDs(map[string]struct{}{acnt1Tag: struct{}{}}) + at.SetAccountIDs(utils.StringMap{acnt1Tag: true}) if err := at.Execute(); err != nil { t.Error(err) } @@ -94,7 +95,7 @@ func TestAcntActsEnableAcnt(t *testing.T) { at := &engine.ActionTiming{ ActionsID: "ENABLE_ACNT", } - at.SetAccountIDs(map[string]struct{}{acnt1Tag: struct{}{}}) + at.SetAccountIDs(utils.StringMap{acnt1Tag: true}) if err := at.Execute(); err != nil { t.Error(err) }