diff options
Diffstat (limited to 'api/command_invite_people_test.go')
-rw-r--r-- | api/command_invite_people_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/command_invite_people_test.go b/api/command_invite_people_test.go index 3efc87e60..d4f579c4d 100644 --- a/api/command_invite_people_test.go +++ b/api/command_invite_people_test.go @@ -14,17 +14,17 @@ func TestInvitePeopleCommand(t *testing.T) { Client := th.BasicClient channel := th.BasicChannel - r1 := Client.Must(Client.Command(channel.Id, "/invite_people test@example.com", false)).Data.(*model.CommandResponse) + r1 := Client.Must(Client.Command(channel.Id, "/invite_people test@example.com")).Data.(*model.CommandResponse) if r1 == nil { t.Fatal("Command failed to execute") } - r2 := Client.Must(Client.Command(channel.Id, "/invite_people test1@example.com test2@example.com", false)).Data.(*model.CommandResponse) + r2 := Client.Must(Client.Command(channel.Id, "/invite_people test1@example.com test2@example.com")).Data.(*model.CommandResponse) if r2 == nil { t.Fatal("Command failed to execute") } - r3 := Client.Must(Client.Command(channel.Id, "/invite_people", false)).Data.(*model.CommandResponse) + r3 := Client.Must(Client.Command(channel.Id, "/invite_people")).Data.(*model.CommandResponse) if r3 == nil { t.Fatal("Command failed to execute") } |