From 2fd914bb24eb2fd6cd2bb64cc0b4501d4ae24e7d Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Fri, 23 Oct 2015 15:50:16 +0300 Subject: [PATCH] fixed local tests --- general_tests/tutorial_local_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general_tests/tutorial_local_test.go b/general_tests/tutorial_local_test.go index a3ef716fc..01052bcff 100644 --- a/general_tests/tutorial_local_test.go +++ b/general_tests/tutorial_local_test.go @@ -1109,7 +1109,7 @@ func TestTutLocalSetAccount(t *testing.T) { if dta.Tenant != attrs.Tenant || dta.Account != attrs.Account { t.Error("Unexpected account id received: ", acnt.Id) } - if balances := acnt.BalanceMap["*monetary*out"]; len(balances) != 1 { + if balances := acnt.BalanceMap["*monetary"]; len(balances) != 1 { t.Errorf("Unexpected balances found: %+v", balances) } if len(acnt.ActionTriggers) != 4 { @@ -1138,7 +1138,7 @@ func TestTutLocalSetAccount(t *testing.T) { if dta.Tenant != attrs.Tenant || dta.Account != attrs.Account { t.Error("Unexpected account id received: ", acnt.Id) } - if balances := acnt.BalanceMap["*monetary*out"]; len(balances) != 1 { + if balances := acnt.BalanceMap["*monetary"]; len(balances) != 1 { t.Errorf("Unexpected balances found: %+v", balances) } if len(acnt.ActionTriggers) != 4 {