summaryrefslogtreecommitdiffstats
path: root/api4/post_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/post_test.go')
-rw-r--r--api4/post_test.go2
1 files changed, 2 insertions, 0 deletions
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)