diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-09-13 12:42:48 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-09-13 12:42:48 -0400 |
commit | 1e7985a87a72bea9a308cf1506dacc828c6e2e1c (patch) | |
tree | d4251391dc74a9ff4628dd1bed551c34d806a1b6 /api/post_test.go | |
parent | 05af5d14b8d07b010c70750ae1ac5ddf22c120a7 (diff) | |
download | chat-1e7985a87a72bea9a308cf1506dacc828c6e2e1c.tar.gz chat-1e7985a87a72bea9a308cf1506dacc828c6e2e1c.tar.bz2 chat-1e7985a87a72bea9a308cf1506dacc828c6e2e1c.zip |
Modifying permissions system. (#3897)
Diffstat (limited to 'api/post_test.go')
-rw-r--r-- | api/post_test.go | 1 |
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)) } |