diff options
Diffstat (limited to 'api/command_expand_collapse_test.go')
-rw-r--r-- | api/command_expand_collapse_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/command_expand_collapse_test.go b/api/command_expand_collapse_test.go index 2303b2fed..bad5ef6c4 100644 --- a/api/command_expand_collapse_test.go +++ b/api/command_expand_collapse_test.go @@ -15,7 +15,7 @@ func TestExpandCommand(t *testing.T) { Client := th.BasicClient channel := th.BasicChannel - r1 := Client.Must(Client.Command(channel.Id, "/expand", false)).Data.(*model.CommandResponse) + r1 := Client.Must(Client.Command(channel.Id, "/expand")).Data.(*model.CommandResponse) if r1 == nil { t.Fatal("Command failed to execute") } @@ -33,7 +33,7 @@ func TestCollapseCommand(t *testing.T) { Client := th.BasicClient channel := th.BasicChannel - r1 := Client.Must(Client.Command(channel.Id, "/collapse", false)).Data.(*model.CommandResponse) + r1 := Client.Must(Client.Command(channel.Id, "/collapse")).Data.(*model.CommandResponse) if r1 == nil { t.Fatal("Command failed to execute") } |