diff --git a/tests/BackendControllerTest.php b/tests/BackendControllerTest.php index 4b6b98c..639e98e 100755 --- a/tests/BackendControllerTest.php +++ b/tests/BackendControllerTest.php @@ -46,7 +46,7 @@ class BackendControllerTest extends \PHPUnit\Framework\TestCase $this->app->orgId = 1; $this->app->accountManager = new AccountManager($GLOBALS['session']); $this->app->appSettings = new CoreSettings($this->app->dbPool->get()); - $this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules'); + $this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules/'); $this->app->dispatcher = new Dispatcher($this->app); $this->app->eventManager = new EventManager($this->app->dispatcher); $this->app->eventManager->importFromFile(__DIR__ . '/../../../Web/Backend/Hooks.php'); diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index f8ed3a1..24ed566 100755 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -51,7 +51,7 @@ class ControllerTest extends \PHPUnit\Framework\TestCase $this->app->orgId = 1; $this->app->accountManager = new AccountManager($GLOBALS['session']); $this->app->appSettings = new CoreSettings($this->app->dbPool->get()); - $this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules'); + $this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules/'); $this->app->dispatcher = new Dispatcher($this->app); $this->app->eventManager = new EventManager($this->app->dispatcher); $this->app->eventManager->importFromFile(__DIR__ . '/../../../Web/Api/Hooks.php');