diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-26 08:16:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 08:16:57 -0400 |
commit | 23ccfc845ca2350075f6027e16c6206fc7b71716 (patch) | |
tree | 3fd1f896a5a24b43913be03b21c85638dd7c356e /api4/channel_test.go | |
parent | fe7e9d95b30ae2195fcba68db960866db91ce045 (diff) | |
download | chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.gz chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.bz2 chat-23ccfc845ca2350075f6027e16c6206fc7b71716.zip |
Move remaining actions over to use redux and v4 endpoints (#6720)
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) |