mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-15 20:18:40 +00:00
unit test fixes
This commit is contained in:
parent
7696ffe036
commit
a9b5c8398b
|
|
@ -122,6 +122,9 @@ trait ApiControllerModuleTrait
|
||||||
$routes = include __DIR__ . '/../../../../../Web/Api/Routes.php';
|
$routes = include __DIR__ . '/../../../../../Web/Api/Routes.php';
|
||||||
$hooks = include __DIR__ . '/../../../../../Web/Api/Hooks.php';
|
$hooks = include __DIR__ . '/../../../../../Web/Api/Hooks.php';
|
||||||
|
|
||||||
|
\array_pop($routes);
|
||||||
|
\array_pop($hooks);
|
||||||
|
|
||||||
$this->module->apiReInit($request, $response);
|
$this->module->apiReInit($request, $response);
|
||||||
|
|
||||||
$routes2 = include __DIR__ . '/../../../../../Web/Api/Routes.php';
|
$routes2 = include __DIR__ . '/../../../../../Web/Api/Routes.php';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user