From 23ccfc845ca2350075f6027e16c6206fc7b71716 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 26 Jun 2017 08:16:57 -0400 Subject: Move remaining actions over to use redux and v4 endpoints (#6720) --- api4/channel_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api4/channel_test.go') 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) -- cgit v1.2.3-1-g7c22