mirror of
https://github.com/Karaka-Management/oms-Attribute.git
synced 2026-02-05 04:18:39 +00:00
test fixes
This commit is contained in:
parent
ec8b9143e3
commit
a3441a6b24
|
|
@ -22,6 +22,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Application\ApplicationAbstract;
|
||||
use phpOMS\Dispatcher\Dispatcher;
|
||||
use phpOMS\Event\EventManager;
|
||||
use phpOMS\Localization\L11nManager;
|
||||
use phpOMS\Module\ModuleManager;
|
||||
use phpOMS\Router\WebRouter;
|
||||
use phpOMS\Utils\TestUtils;
|
||||
|
|
@ -55,6 +56,7 @@ final class ControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$this->app->dispatcher = new Dispatcher($this->app);
|
||||
$this->app->eventManager = new EventManager($this->app->dispatcher);
|
||||
$this->app->eventManager->importFromFile(__DIR__ . '/../../../Web/Api/Hooks.php');
|
||||
$this->app->l11nManager = new L11nManager();
|
||||
|
||||
$account = new Account();
|
||||
TestUtils::setMember($account, 'id', 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user