Implement SAML endpoints for APIv4 (#5671)

* Implement SAML endpoints for APIv4

* Fix unit test

* Only disable encryption when removing puplic/private certs
Этот коммит содержится в:
Joram Wilander
2017-03-13 08:26:23 -04:00
коммит произвёл George Goldberg
родитель fe38d6d5bb
Коммит 3559fb7959
11 изменённых файлов: 540 добавлений и 19 удалений

Просмотреть файл

@@ -6,6 +6,7 @@ package api
import (
"time"
"github.com/mattermost/platform/api4"
"github.com/mattermost/platform/app"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/store"
@@ -43,6 +44,7 @@ func SetupEnterprise() *TestHelper {
InitRouter()
app.StartServer()
utils.InitHTML()
api4.InitApi(false)
InitApi()
utils.EnableDebugLogForTest()
app.Srv.Store.MarkSystemRanUnitTests()