From 32460bf63bc07c69ee5da0bb5640b879facb5538 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Tue, 4 Apr 2017 18:19:42 +0100 Subject: 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. --- web/web_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/web_test.go b/web/web_test.go index a977a113e..0e5353d19 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -72,7 +72,7 @@ func TestIncomingWebhook(t *testing.T) { team := &model.Team{DisplayName: "Name", Name: "z-z-" + model.NewId() + "a", Email: "test@nowhere.com", Type: model.TEAM_OPEN} team = ApiClient.Must(ApiClient.CreateTeam(team)).Data.(*model.Team) - app.JoinUserToTeam(team, user) + app.JoinUserToTeam(team, user, "") app.UpdateUserRoles(user.Id, model.ROLE_SYSTEM_ADMIN.Id) ApiClient.SetTeamId(team.Id) -- cgit v1.2.3-1-g7c22