diff options
author | Corey Hulen <corey@hulen.com> | 2015-07-06 11:24:06 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-07-06 11:24:06 -0800 |
commit | 3dec509899f60ca0d2eadfcc192ccc49969852ef (patch) | |
tree | a86552979d6fab4dbe336171ade9d3e69b64fff0 /store/sql_post_store_test.go | |
parent | 10b625ba1740c6177cfe5c06484f4a14867523bd (diff) | |
parent | 34fb817a4a4cd2761ba35a2c94f9d0eb79d06244 (diff) | |
download | chat-3dec509899f60ca0d2eadfcc192ccc49969852ef.tar.gz chat-3dec509899f60ca0d2eadfcc192ccc49969852ef.tar.bz2 chat-3dec509899f60ca0d2eadfcc192ccc49969852ef.zip |
Merge pull request #131 from mattermost/mm-1391
Fixes mm-1391 adding travis CI
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r-- | store/sql_post_store_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go index 13dd6e5ed..d9805eb02 100644 --- a/store/sql_post_store_test.go +++ b/store/sql_post_store_test.go @@ -280,7 +280,7 @@ func TestPostStoreGetWithChildren(t *testing.T) { } } - <-store.Post().Delete(o3.Id, model.GetMillis()) + Must(store.Post().Delete(o3.Id, model.GetMillis())) if r2 := <-store.Post().Get(o1.Id); r2.Err != nil { t.Fatal(r2.Err) @@ -291,7 +291,7 @@ func TestPostStoreGetWithChildren(t *testing.T) { } } - <-store.Post().Delete(o2.Id, model.GetMillis()) + Must(store.Post().Delete(o2.Id, model.GetMillis())) if r3 := <-store.Post().Get(o1.Id); r3.Err != nil { t.Fatal(r3.Err) @@ -399,7 +399,7 @@ func TestPostStoreSearch(t *testing.T) { m1.ChannelId = c1.Id m1.UserId = userId m1.NotifyLevel = model.CHANNEL_NOTIFY_ALL - <-store.Channel().SaveMember(&m1) + Must(store.Channel().SaveMember(&m1)) c2 := &model.Channel{} c2.TeamId = teamId |