mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 05:28:41 +00:00
fix tests
This commit is contained in:
parent
ea3388aea6
commit
7fe7d0e25e
|
|
@ -3143,6 +3143,9 @@ final class ApiController extends Controller
|
|||
\file_put_contents($path, '<?php return [];');
|
||||
}
|
||||
|
||||
\phpOMS\Module\StatusAbstract::$routes = [];
|
||||
\phpOMS\Module\StatusAbstract::$hooks = [];
|
||||
|
||||
$installedModules = $this->app->moduleManager->getActiveModules();
|
||||
foreach ($installedModules as $name => $_) {
|
||||
$this->app->moduleManager->reInit($name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user