From 40fa360ffbce6d96000ffbb8bd5cc6b5bf37eaf8 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Wed, 25 Nov 2015 19:55:42 +0200 Subject: [PATCH] fixed tests --- general_tests/auth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general_tests/auth_test.go b/general_tests/auth_test.go index a47948eb2..d976c5c8e 100644 --- a/general_tests/auth_test.go +++ b/general_tests/auth_test.go @@ -97,7 +97,7 @@ func TestAuthPostpaidNoAcnt(t *testing.T) { Category: "call", Account: "nonexistent", Subject: "testauthpostpaid1", Destination: "4986517174963", SetupTime: time.Date(2015, 8, 27, 11, 26, 0, 0, time.UTC)} var maxSessionTime float64 - if err := rsponder.GetDerivedMaxSessionTime(cdr, &maxSessionTime); err == nil || err != utils.ErrNotFound { + if err := rsponder.GetDerivedMaxSessionTime(cdr, &maxSessionTime); err == nil || err != utils.ErrAccountNotFound { t.Error(err) } }