diff options
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r-- | api4/channel_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go index f25cbf706..e1b5ee5a7 100644 --- a/api4/channel_test.go +++ b/api4/channel_test.go @@ -1091,7 +1091,7 @@ func TestRestoreChannel(t *testing.T) { _, resp = Client.RestoreChannel(privateChannel1.Id) CheckOKStatus(t, resp) - } +} func TestGetChannelByName(t *testing.T) { th := Setup().InitBasic().InitSystemAdmin() @@ -1684,7 +1684,7 @@ func TestAddChannelMember(t *testing.T) { privateChannel := th.CreatePrivateChannel() user3 := th.CreateUserWithClient(th.SystemAdminClient) - _, resp := th.SystemAdminClient.AddTeamMember(team.Id, user3.Id, "", "", team.InviteId) + _, resp := th.SystemAdminClient.AddTeamMember(team.Id, user3.Id) CheckNoError(t, resp) cm, resp := Client.AddChannelMember(publicChannel.Id, user2.Id) |