diff options
Diffstat (limited to 'api/apitestlib.go')
-rw-r--r-- | api/apitestlib.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/apitestlib.go b/api/apitestlib.go index 276ff81e1..8504748e1 100644 --- a/api/apitestlib.go +++ b/api/apitestlib.go @@ -51,8 +51,8 @@ func setupTestHelper(enterprise bool) *TestHelper { th.App.Srv.Router = NewRouter() wsapi.InitRouter() th.App.StartServer() - api4.InitApi(th.App.Srv.Router, false) - InitApi(th.App.Srv.Router) + api4.Init(th.App, th.App.Srv.Router, false) + Init(th.App, th.App.Srv.Router) wsapi.InitApi() utils.EnableDebugLogForTest() th.App.Srv.Store.MarkSystemRanUnitTests() |