summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store_test.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-20 08:33:26 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-20 08:33:26 -0600
commit5b2ec623473abeb44577fbfc9122b792a94a5184 (patch)
treee79a434a7fe9e91f2f7b6a3a0fc4d90cf470c306 /store/sql_post_store_test.go
parentca33812cb5b83dba0babc244fdf101c78abc046a (diff)
downloadchat-5b2ec623473abeb44577fbfc9122b792a94a5184.tar.gz
chat-5b2ec623473abeb44577fbfc9122b792a94a5184.tar.bz2
chat-5b2ec623473abeb44577fbfc9122b792a94a5184.zip
PLT-7 adding loc db calls for team table
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r--store/sql_post_store_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go
index a3e3e10dd..07f152dc4 100644
--- a/store/sql_post_store_test.go
+++ b/store/sql_post_store_test.go
@@ -765,7 +765,7 @@ func TestUserCountsWithPostsByDay(t *testing.T) {
t1.Name = "a" + model.NewId() + "b"
t1.Email = model.NewId() + "@nowhere.com"
t1.Type = model.TEAM_OPEN
- t1 = Must(store.Team().Save(t1)).(*model.Team)
+ t1 = Must(store.Team().Save(utils.T, t1)).(*model.Team)
c1 := &model.Channel{}
c1.TeamId = t1.Id
@@ -825,7 +825,7 @@ func TestPostCountsByDay(t *testing.T) {
t1.Name = "a" + model.NewId() + "b"
t1.Email = model.NewId() + "@nowhere.com"
t1.Type = model.TEAM_OPEN
- t1 = Must(store.Team().Save(t1)).(*model.Team)
+ t1 = Must(store.Team().Save(utils.T, t1)).(*model.Team)
c1 := &model.Channel{}
c1.TeamId = t1.Id