summaryrefslogtreecommitdiffstats
path: root/app/apptestlib.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-04-04 18:19:42 +0100
committerGitHub <noreply@github.com>2017-04-04 18:19:42 +0100
commit32460bf63bc07c69ee5da0bb5640b879facb5538 (patch)
tree2ee6abc94175823632e9f9ab40172948fcfa0f85 /app/apptestlib.go
parent0b5c0794fdcbb551c1233dcdfbdf5c7deb585fd6 (diff)
downloadchat-32460bf63bc07c69ee5da0bb5640b879facb5538.tar.gz
chat-32460bf63bc07c69ee5da0bb5640b879facb5538.tar.bz2
chat-32460bf63bc07c69ee5da0bb5640b879facb5538.zip
PLT-6198: Use added to channel system message on default channels. (#5969)
Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
Diffstat (limited to 'app/apptestlib.go')
-rw-r--r--app/apptestlib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/apptestlib.go b/app/apptestlib.go
index 41e234130..52530f92f 100644
--- a/app/apptestlib.go
+++ b/app/apptestlib.go
@@ -174,7 +174,7 @@ func (me *TestHelper) CreatePost(channel *model.Channel) *model.Post {
func LinkUserToTeam(user *model.User, team *model.Team) {
utils.DisableDebugLogForTest()
- err := JoinUserToTeam(team, user)
+ err := JoinUserToTeam(team, user, "")
if err != nil {
l4g.Error(err.Error())
l4g.Close()