summaryrefslogtreecommitdiffstats
path: root/web/web_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_test.go')
-rw-r--r--web/web_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/web_test.go b/web/web_test.go
index 2bf92151f..ba47f831a 100644
--- a/web/web_test.go
+++ b/web/web_test.go
@@ -27,9 +27,9 @@ func Setup() *app.App {
a.InitStores()
a.Srv.Router = api.NewRouter()
a.StartServer()
- api4.InitApi(a.Srv.Router, false)
- api.InitApi(a.Srv.Router)
- InitWeb()
+ api4.Init(a, a.Srv.Router, false)
+ api3 := api.Init(a, a.Srv.Router)
+ Init(api3)
URL = "http://localhost" + *utils.Cfg.ServiceSettings.ListenAddress
ApiClient = model.NewClient(URL)