mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-01-30 22:18:41 +00:00
test fixes
This commit is contained in:
parent
0663b6cc4d
commit
c5cbc93da1
|
|
@ -33,7 +33,7 @@
|
|||
},
|
||||
"auditor_audit_content": {
|
||||
"name": "auditor_audit_content",
|
||||
"type": "TEXT",
|
||||
"type": "BLOB",
|
||||
"default": null,
|
||||
"null": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ declare(strict_types=1);
|
|||
|
||||
return ['Auditor' => [
|
||||
'Action' => 'Action',
|
||||
'CreatedAt' => 'Created At',
|
||||
'CreatedBy' => 'Created By',
|
||||
'Audit' => 'Audit',
|
||||
'Auditor' => 'Auditor',
|
||||
'Audits' => 'Audits',
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Application\ApplicationAbstract;
|
||||
use phpOMS\Dispatcher\Dispatcher;
|
||||
use phpOMS\Event\EventManager;
|
||||
use phpOMS\Localization\L11nManager;
|
||||
use phpOMS\Module\ModuleAbstract;
|
||||
use phpOMS\Module\ModuleManager;
|
||||
use phpOMS\Router\WebRouter;
|
||||
|
|
@ -59,6 +60,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$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->l11nManager = new L11nManager();
|
||||
$this->app->eventManager->importFromFile(__DIR__ . '/../../../../Web/Api/Hooks.php');
|
||||
|
||||
$account = new Account();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user