app type transition (#7167)

This commit is contained in:
Chris
2017-09-06 17:12:54 -05:00
committed by GitHub
parent b84bd21089
commit 1adfd0e9be
178 changed files with 2919 additions and 2806 deletions

View File

@@ -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)
}