summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2016-02-29 08:08:11 -0500
committerJoramWilander <jwawilander@gmail.com>2016-03-01 10:46:31 -0500
commitfbb71cab4b4c0289c1f071f9fa2e61b0b0237ece (patch)
tree1b386869f04b96b0322e982f8000d72c4bb31116 /store
parentbf3dcde84867e302be647c486954f84c36807aee (diff)
downloadchat-fbb71cab4b4c0289c1f071f9fa2e61b0b0237ece.tar.gz
chat-fbb71cab4b4c0289c1f071f9fa2e61b0b0237ece.tar.bz2
chat-fbb71cab4b4c0289c1f071f9fa2e61b0b0237ece.zip
Fix unit test for session counting
Diffstat (limited to 'store')
-rw-r--r--store/sql_session_store_test.go1
1 files changed, 1 insertions, 0 deletions
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 {