diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-22 12:54:27 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-09-22 13:54:27 -0400 |
commit | dcf9e96a0b16530549168a7891ed8242663b5f28 (patch) | |
tree | 344255f0abbe1bd207e2f2ab864d245e240f4eeb /api4/apitestlib.go | |
parent | e0d5703f721aafef1b55747cd09629860e86bfb4 (diff) | |
download | chat-dcf9e96a0b16530549168a7891ed8242663b5f28.tar.gz chat-dcf9e96a0b16530549168a7891ed8242663b5f28.tar.bz2 chat-dcf9e96a0b16530549168a7891ed8242663b5f28.zip |
remove global refs from api/api4 (#7496)
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 9538eb99c..7b5230014 100644 --- a/api4/apitestlib.go +++ b/api4/apitestlib.go @@ -63,7 +63,7 @@ func setupTestHelper(enterprise bool) *TestHelper { th.App.Srv.Router = NewRouter() wsapi.InitRouter() th.App.StartServer() - InitApi(th.App.Srv.Router, true) + Init(th.App, th.App.Srv.Router, true) wsapi.InitApi() utils.EnableDebugLogForTest() th.App.Srv.Store.MarkSystemRanUnitTests() |