summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r--api4/channel_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go
index 1875f2c44..1d8053a0a 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -27,6 +27,7 @@ func TestCreateChannel(t *testing.T) {
rchannel, resp := Client.CreateChannel(channel)
CheckNoError(t, resp)
+ CheckCreatedStatus(t, resp)
if rchannel.Name != channel.Name {
t.Fatal("names did not match")
@@ -1501,6 +1502,7 @@ func TestAddChannelMember(t *testing.T) {
cm, resp := Client.AddChannelMember(publicChannel.Id, user2.Id)
CheckNoError(t, resp)
+ CheckCreatedStatus(t, resp)
if cm.ChannelId != publicChannel.Id {
t.Fatal("should have returned exact channel")