From fbb71cab4b4c0289c1f071f9fa2e61b0b0237ece Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 29 Feb 2016 08:08:11 -0500 Subject: Fix unit test for session counting --- store/sql_session_store_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'store/sql_session_store_test.go') diff --git a/store/sql_session_store_test.go b/store/sql_session_store_test.go index 9b430eb30..506695f0e 100644 --- a/store/sql_session_store_test.go +++ b/store/sql_session_store_test.go @@ -207,6 +207,7 @@ func TestSessionCount(t *testing.T) { s1 := model.Session{} s1.UserId = model.NewId() s1.TeamId = model.NewId() + s1.ExpiresAt = model.GetMillis() + 100000 Must(store.Session().Save(&s1)) if r1 := <-store.Session().AnalyticsSessionCount(""); r1.Err != nil { -- cgit v1.2.3-1-g7c22