summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/post_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/post_test.go b/api/post_test.go
index 027043766..2d978d3e3 100644
--- a/api/post_test.go
+++ b/api/post_test.go
@@ -549,10 +549,6 @@ func TestSearchPostsInChannel(t *testing.T) {
t.Fatalf("wrong number of posts returned %v", len(result.Order))
}
- if result := Client.Must(Client.SearchPosts("sgtitlereview in:")).Data.(*model.PostList); len(result.Order) != 2 {
- t.Fatalf("wrong number of posts returned %v", len(result.Order))
- }
-
if result := Client.Must(Client.SearchPosts("sgtitlereview channel:" + channel1.Name)).Data.(*model.PostList); len(result.Order) != 1 {
t.Fatalf("wrong number of posts returned %v", len(result.Order))
}