This commit is contained in:
Derrick Anderson
2018-02-13 23:46:49 -05:00
parent 4e4535bda9
commit e43f381764
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ func New(options ...Option) (outApp *App, outErr error) {
if err := app.ensureAsymmetricSigningKey(); err != nil {
return nil, errors.Wrapf(err, "unable to ensure asymmetric signing key")
}
app.initJobs()
app.initBuiltInPlugins()
+1 -1
View File
@@ -345,4 +345,4 @@ func TestMakeOpenGraphURLsAbsolute(t *testing.T) {
}
})
}
}
}
+1 -1
View File
@@ -93,7 +93,7 @@ func runServer(configFileLocation string, disableConfigWatch bool, interruptChan
l4g.Critical(serverErr.Error())
return serverErr
}
api4.Init(a, a.Srv.Router, false)
api3 := api.Init(a, a.Srv.Router)
wsapi.Init(a, a.Srv.WebSocketRouter)
+1 -1
View File
@@ -69,4 +69,4 @@ func TestRunServerInvalidConfigFile(t *testing.T) {
err = runServer(unreadableConfigFile.Name(), th.disableConfigWatch, th.interruptChan)
require.Error(t, err)
}
}