diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-10-04 11:42:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 11:42:38 -0400 |
commit | fadd9514f6e71590aba781a7035e1de4150137b0 (patch) | |
tree | a265d44f377281abd56baf31fe878e08f90f7d4b /api4/webhook_test.go | |
parent | fa80cb10a8ad047f9504c49ed2671d31650d1878 (diff) | |
download | chat-fadd9514f6e71590aba781a7035e1de4150137b0.tar.gz chat-fadd9514f6e71590aba781a7035e1de4150137b0.tar.bz2 chat-fadd9514f6e71590aba781a7035e1de4150137b0.zip |
PLT-7718 Patch for files (#7564)
* Patch for files
* Fix merge
* Fix tests
* Fix another test
Diffstat (limited to 'api4/webhook_test.go')
-rw-r--r-- | api4/webhook_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/api4/webhook_test.go b/api4/webhook_test.go index b09f4411e..f8d33e984 100644 --- a/api4/webhook_test.go +++ b/api4/webhook_test.go @@ -391,11 +391,7 @@ func TestGetOutgoingWebhooks(t *testing.T) { } hooks, resp = th.SystemAdminClient.GetOutgoingWebhooksForChannel(model.NewId(), 0, 1000, "") - CheckNoError(t, resp) - - if len(hooks) != 0 { - t.Fatal("no hooks should be returned") - } + CheckForbiddenStatus(t, resp) _, resp = Client.GetOutgoingWebhooks(0, 1000, "") CheckForbiddenStatus(t, resp) |