test fixes

This commit is contained in:
Dennis Eichhorn 2023-04-17 19:44:57 +02:00
parent 0663b6cc4d
commit c5cbc93da1
3 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,7 @@
},
"auditor_audit_content": {
"name": "auditor_audit_content",
"type": "TEXT",
"type": "BLOB",
"default": null,
"null": true
},

View File

@ -14,6 +14,8 @@ declare(strict_types=1);
return ['Auditor' => [
'Action' => 'Action',
'CreatedAt' => 'Created At',
'CreatedBy' => 'Created By',
'Audit' => 'Audit',
'Auditor' => 'Auditor',
'Audits' => 'Audits',

View File

@ -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();