MM-54555 - Include channel name in error (#24614)
* include channel name in error * update multiple returns --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7e3c0dfa4c
Коммит
ae1decd1a7
@@ -74,7 +74,7 @@ func TestInviteProvider(t *testing.T) {
|
||||
channel2 := th.createChannel(th.BasicTeam, model.ChannelTypeOpen)
|
||||
|
||||
msg := "@" + th.BasicUser2.Username + " @" + anotherUser.Username + " ~" + channel1.Name + " ~" + channel2.Name
|
||||
expected := "api.command_invite.success"
|
||||
expected := "api.command_invite.success\napi.command_invite.success"
|
||||
runCmd(msg, expected)
|
||||
checkIsMember(channel1.Id, th.BasicUser2.Id)
|
||||
checkIsMember(channel2.Id, th.BasicUser2.Id)
|
||||
|
||||
Ссылка в новой задаче
Block a user