summaryrefslogtreecommitdiffstats
path: root/api/command_shortcuts_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command_shortcuts_test.go')
-rw-r--r--api/command_shortcuts_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/command_shortcuts_test.go b/api/command_shortcuts_test.go
index 01c56b465..049175ec9 100644
--- a/api/command_shortcuts_test.go
+++ b/api/command_shortcuts_test.go
@@ -14,12 +14,12 @@ func TestShortcutsCommand(t *testing.T) {
Client := th.BasicClient
channel := th.BasicChannel
- rs := Client.Must(Client.Command(channel.Id, "/shortcuts ", false)).Data.(*model.CommandResponse)
+ rs := Client.Must(Client.Command(channel.Id, "/shortcuts ")).Data.(*model.CommandResponse)
if !strings.Contains(rs.Text, "CTRL") {
t.Fatal("failed to display shortcuts")
}
- rs = Client.Must(Client.Command(channel.Id, "/shortcuts mac", false)).Data.(*model.CommandResponse)
+ rs = Client.Must(Client.Command(channel.Id, "/shortcuts mac")).Data.(*model.CommandResponse)
if !strings.Contains(rs.Text, "CMD") {
t.Fatal("failed to display Mac shortcuts")
}