summaryrefslogtreecommitdiffstats
path: root/app/command_invite_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command_invite_test.go')
-rw-r--r--app/command_invite_test.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/command_invite_test.go b/app/command_invite_test.go
index 0d1db4a07..f141cb239 100644
--- a/app/command_invite_test.go
+++ b/app/command_invite_test.go
@@ -95,12 +95,7 @@ func TestInviteProvider(t *testing.T) {
msg: basicUser4.Username,
},
{
- desc: "try to add a user to a direct channel",
- expected: "api.command_invite.directchannel.app_error",
- msg: userAndDMChannel,
- },
- {
- desc: "try to add a user to a privante channel with no permission",
+ desc: "try to add a user to a private channel with no permission",
expected: "api.command_invite.private_channel.app_error",
msg: userAndInvalidPrivate,
},