From f2abb9d8eb4b35369d286749ede37916a8979e07 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Tue, 27 Jun 2017 04:05:50 +0800 Subject: fix permission app error with updatePost (#6749) --- api4/post_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api4/post_test.go') diff --git a/api4/post_test.go b/api4/post_test.go index abfd83989..a2c0b065b 100644 --- a/api4/post_test.go +++ b/api4/post_test.go @@ -137,6 +137,8 @@ func TestUpdatePost(t *testing.T) { msg := "zz" + model.NewId() + " update post" rpost.Message = msg + rpost.UserId = "" + rupost, resp := Client.UpdatePost(rpost.Id, rpost) CheckNoError(t, resp) -- cgit v1.2.3-1-g7c22