summaryrefslogtreecommitdiffstats
path: root/api/post_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/post_test.go')
-rw-r--r--api/post_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/post_test.go b/api/post_test.go
index 2239e92cd..8f8bca899 100644
--- a/api/post_test.go
+++ b/api/post_test.go
@@ -778,6 +778,7 @@ func TestDeletePosts(t *testing.T) {
post4 = Client.Must(Client.CreatePost(post4)).Data.(*model.Post)
th.LoginBasic2()
+ Client.Must(Client.JoinChannel(channel1.Id))
Client.Must(Client.DeletePost(channel1.Id, post4.Id))
}