From 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c Mon Sep 17 00:00:00 2001 From: Debanshu Kundu Date: Mon, 31 Jul 2017 23:47:21 +0530 Subject: #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test --- api4/post_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/post_test.go') diff --git a/api4/post_test.go b/api4/post_test.go index 53babc6e6..7d45d7cac 100644 --- a/api4/post_test.go +++ b/api4/post_test.go @@ -359,7 +359,7 @@ func TestUpdatePost(t *testing.T) { t.Fatal("failed to updates") } - post2 := &model.Post{ChannelId: channel.Id, Message: "zz" + model.NewId() + "a", Type: model.POST_JOIN_LEAVE} + post2 := &model.Post{ChannelId: channel.Id, Message: "zz" + model.NewId() + "a", Type: model.POST_HEADER_CHANGE} rpost2, resp := Client.CreatePost(post2) CheckNoError(t, resp) -- cgit v1.2.3-1-g7c22