Remove global app references (#7433)

* remove global app references

* test fix

* fix api4 test compilation
This commit is contained in:
Chris
2017-09-12 09:19:52 -05:00
committed by GitHub
parent 674a606bd0
commit b066b6df13
37 changed files with 724 additions and 1434 deletions

View File

@@ -29,7 +29,7 @@ func TestPlugin(t *testing.T) {
th := Setup().InitBasic().InitSystemAdmin()
defer TearDown()
th.App.StartupPlugins(pluginDir, webappDir)
th.App.InitPlugins(pluginDir, webappDir)
enablePlugins := *utils.Cfg.PluginSettings.Enable
defer func() {