diff --git a/Admin/Install/db.json b/Admin/Install/db.json index c7b0dcb..05194c5 100755 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -33,7 +33,7 @@ }, "auditor_audit_content": { "name": "auditor_audit_content", - "type": "TEXT", + "type": "BLOB", "default": null, "null": true }, diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index e7b6782..e7e7345 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -14,6 +14,8 @@ declare(strict_types=1); return ['Auditor' => [ 'Action' => 'Action', + 'CreatedAt' => 'Created At', + 'CreatedBy' => 'Created By', 'Audit' => 'Audit', 'Auditor' => 'Auditor', 'Audits' => 'Audits', diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 0fd0c72..05a3d99 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -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();