summaryrefslogtreecommitdiffstats
path: root/api/command_join_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command_join_test.go')
-rw-r--r--api/command_join_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/command_join_test.go b/api/command_join_test.go
index a1dbace41..cce837ceb 100644
--- a/api/command_join_test.go
+++ b/api/command_join_test.go
@@ -29,12 +29,12 @@ func TestJoinCommands(t *testing.T) {
channel3 := Client.Must(Client.CreateDirectChannel(user2.Id)).Data.(*model.Channel)
- rs5 := Client.Must(Client.Command(channel0.Id, "/join "+channel2.Name, false)).Data.(*model.CommandResponse)
+ rs5 := Client.Must(Client.Command(channel0.Id, "/join "+channel2.Name)).Data.(*model.CommandResponse)
if !strings.HasSuffix(rs5.GotoLocation, "/"+team.Name+"/channels/"+channel2.Name) {
t.Fatal("failed to join channel")
}
- rs6 := Client.Must(Client.Command(channel0.Id, "/join "+channel3.Name, false)).Data.(*model.CommandResponse)
+ rs6 := Client.Must(Client.Command(channel0.Id, "/join "+channel3.Name)).Data.(*model.CommandResponse)
if strings.HasSuffix(rs6.GotoLocation, "/"+team.Name+"/channels/"+channel3.Name) {
t.Fatal("should not have joined direct message channel")
}