diff options
Diffstat (limited to 'api4/apitestlib.go')
-rw-r--r-- | api4/apitestlib.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/apitestlib.go b/api4/apitestlib.go index 0ce334154..86150e05a 100644 --- a/api4/apitestlib.go +++ b/api4/apitestlib.go @@ -120,7 +120,7 @@ func setupTestHelper(enterprise bool) *TestHelper { } th.App.UpdateConfig(func(cfg *model.Config) { *cfg.ServiceSettings.ListenAddress = prevListenAddress }) - Init(th.App, th.App.Srv.Router, true) + Init(th.App, th.App.Srv.Router) web.NewWeb(th.App, th.App.Srv.Router) wsapi.Init(th.App, th.App.Srv.WebSocketRouter) th.App.Srv.Store.MarkSystemRanUnitTests() |