diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-06 17:12:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 17:12:54 -0500 |
commit | 1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 (patch) | |
tree | 2766bacc1f045fa685ca3d8310cd6174d0311d09 /api4/webhook_test.go | |
parent | b84bd21089d305333fa4114b95be70f5ad94ad1b (diff) | |
download | chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.gz chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.bz2 chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.zip |
app type transition (#7167)
Diffstat (limited to 'api4/webhook_test.go')
-rw-r--r-- | api4/webhook_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api4/webhook_test.go b/api4/webhook_test.go index 8cab85c99..28b98bf42 100644 --- a/api4/webhook_test.go +++ b/api4/webhook_test.go @@ -8,7 +8,6 @@ import ( "net/http" "testing" - "github.com/mattermost/platform/app" "github.com/mattermost/platform/model" "github.com/mattermost/platform/utils" ) @@ -914,7 +913,7 @@ func TestCommandWebhooks(t *testing.T) { UserId: th.BasicUser.Id, ChannelId: th.BasicChannel.Id, } - hook, err := app.CreateCommandWebhook(cmd.Id, args) + hook, err := th.App.CreateCommandWebhook(cmd.Id, args) if err != nil { t.Fatal(err) } |