From b066b6df138e88e75cb40f1ec3e58fbd13e61909 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 12 Sep 2017 09:19:52 -0500 Subject: Remove global app references (#7433) * remove global app references * test fix * fix api4 test compilation --- api4/plugin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/plugin_test.go') diff --git a/api4/plugin_test.go b/api4/plugin_test.go index 0e8c0638c..898649f56 100644 --- a/api4/plugin_test.go +++ b/api4/plugin_test.go @@ -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() { -- cgit v1.2.3-1-g7c22