summaryrefslogtreecommitdiffstats
path: root/app/command_channel_rename_test.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-14 12:01:44 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-09-14 13:01:44 -0400
commitb6fb98a43176215f16fc52b64abebde51355e5c1 (patch)
tree095a2006bdfdd30d1a9c4fc4e604924fc0f50225 /app/command_channel_rename_test.go
parentaf81f7e48bd2afaaa8c71f78bf86bdc00b104e4d (diff)
downloadchat-b6fb98a43176215f16fc52b64abebde51355e5c1.tar.gz
chat-b6fb98a43176215f16fc52b64abebde51355e5c1.tar.bz2
chat-b6fb98a43176215f16fc52b64abebde51355e5c1.zip
remove more global references (#7442)
Diffstat (limited to 'app/command_channel_rename_test.go')
-rw-r--r--app/command_channel_rename_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_channel_rename_test.go b/app/command_channel_rename_test.go
index 070462036..ed4186c7f 100644
--- a/app/command_channel_rename_test.go
+++ b/app/command_channel_rename_test.go
@@ -25,7 +25,7 @@ func TestRenameProviderDoCommand(t *testing.T) {
"1234567890123456789012": "",
"12345678901234567890123": "api.command_channel_rename.too_long.app_error",
} {
- actual := rp.DoCommand(args, msg).Text
+ actual := rp.DoCommand(th.App, args, msg).Text
assert.Equal(t, expected, actual)
}
}