Skip to content
Snippets Groups Projects
Commit ed2eda51 authored by Laurent's avatar Laurent
Browse files

dev #47780 Cosmo tests startup fix error

parent cdfd3a3d
Branches
Tags 6.29
3 merge requests!1864Master,!1859Dev#47780 digital ressources plugins,!1840Dev#47780 digital ressources plugins
......@@ -47,13 +47,17 @@ require_once "startup.php";
$cfg_file = (new CosmoPaths())->getBokehConfigPath();
(new Bokeh_Engine())
$bokeh = new Bokeh_Engine();
$bokeh
->setupConstants()
->loadConfig($cfg_file)
->setupDatabase()
->setupDevOptions()
->setupHTTPClient()
->setupLanguage()
->setupCustomFields()
->setupSession()
->setupControllerActionHelper();
->setupCustomFields();
if (!session_id()) //if in unit tests
$bokeh->setupSession();
$bokeh->setupControllerActionHelper();
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment