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