diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-29 17:33:16 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-29 17:33:16 -0400 |
commit | 5e9dccc464590ffe6e05041b76192bb6f12e30c6 (patch) | |
tree | b3c76aa86bdb4e50bc7c3f3456cfa78e26f38c25 /store/sql_post_store_test.go | |
parent | fb9fe1995ca7502bea23e1ab7082e8c8757251fb (diff) | |
parent | 8fadea44debd00c1babd12bff9eb2dd0a5d99370 (diff) | |
download | chat-5e9dccc464590ffe6e05041b76192bb6f12e30c6.tar.gz chat-5e9dccc464590ffe6e05041b76192bb6f12e30c6.tar.bz2 chat-5e9dccc464590ffe6e05041b76192bb6f12e30c6.zip |
Merge pull request #865 from mattermost/PLT-404
PLT-404 adding basic error checking to config file.
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r-- | store/sql_post_store_test.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go index bc1cb2c2c..257054033 100644 --- a/store/sql_post_store_test.go +++ b/store/sql_post_store_test.go @@ -530,13 +530,6 @@ func TestPostStoreSearch(t *testing.T) { t.Fatal("returned wrong serach result") } - // if utils.Cfg.SqlSettings.DriverName == "mysql" { - // r2 := (<-store.Post().Search(teamId, userId, "new york", false)).Data.(*model.PostList) - // if len(r2.Order) >= 1 && r2.Order[0] != o2.Id { - // t.Fatal("returned wrong serach result") - // } - // } - r3 := (<-store.Post().Search(teamId, userId, "new", false)).Data.(*model.PostList) if len(r3.Order) != 2 && r3.Order[0] != o1.Id { t.Fatal("returned wrong serach result") |