mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-11 07:38:41 +00:00
Test fixes
This commit is contained in:
parent
adac80cbbd
commit
fd11d5544e
|
|
@ -14,8 +14,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Modules\Tag\Admin;
|
||||
|
||||
use Modules\Admin\Models\AccountMapper;
|
||||
use Modules\Admin\Models\NullAccount;
|
||||
use phpOMS\Application\ApplicationAbstract;
|
||||
use phpOMS\Config\SettingsInterface;
|
||||
use phpOMS\Message\Http\HttpRequest;
|
||||
|
|
@ -42,14 +40,6 @@ final class Installer extends InstallerAbstract
|
|||
*/
|
||||
public const PATH = __DIR__;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
||||
{
|
||||
parent::install($app, $info, $cfgHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* Install data from providing modules.
|
||||
*
|
||||
|
|
@ -77,7 +67,7 @@ final class Installer extends InstallerAbstract
|
|||
}
|
||||
|
||||
$tagData = \json_decode($tagFile, true) ?? [];
|
||||
if ($tagData === false) {
|
||||
if (!\is_array($tagData)) {
|
||||
throw new \Exception(); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
# Structure
|
||||
|
||||
## ER
|
||||
|
||||

|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB |
|
|
@ -1,4 +0,0 @@
|
|||
# User Content
|
||||
|
||||
* [Templates]({%}&page=Help/templates)
|
||||
* [Reports]({%}&page=Help/reports)
|
||||
|
|
@ -37,7 +37,7 @@ final class TagMapper extends DataMapperFactory
|
|||
*/
|
||||
public const COLUMNS = [
|
||||
'tag_id' => ['name' => 'tag_id', 'type' => 'int', 'internal' => 'id'],
|
||||
'tag_name' => ['name' => 'tag_name', 'type' => 'string', 'internal' => 'name'],
|
||||
'tag_name' => ['name' => 'tag_name', 'type' => 'string', 'internal' => 'name'],
|
||||
'tag_color' => ['name' => 'tag_color', 'type' => 'string', 'internal' => 'color'],
|
||||
'tag_icon' => ['name' => 'tag_icon', 'type' => 'string', 'internal' => 'icon'],
|
||||
'tag_type' => ['name' => 'tag_type', 'type' => 'int', 'internal' => 'type'],
|
||||
|
|
|
|||
|
|
@ -13,13 +13,13 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Tag' => [
|
||||
'Color' => 'Farbe',
|
||||
'Create' => 'Erstellen',
|
||||
'Icon' => 'Symbol',
|
||||
'Language' => 'Sprache',
|
||||
'List' => 'Liste',
|
||||
'Tag' => 'Stichwort',
|
||||
'Tags' => 'Stichworte',
|
||||
'Title' => 'Titel',
|
||||
'InternalName' => 'Interner Name',
|
||||
'Color' => 'Farbe',
|
||||
'Create' => 'Erstellen',
|
||||
'Icon' => 'Symbol',
|
||||
'Language' => 'Sprache',
|
||||
'List' => 'Liste',
|
||||
'Tag' => 'Stichwort',
|
||||
'Tags' => 'Stichworte',
|
||||
'Title' => 'Titel',
|
||||
'InternalName' => 'Interner Name',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,13 +13,13 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Tag' => [
|
||||
'Color' => 'Color',
|
||||
'Create' => 'Create',
|
||||
'Icon' => 'Icon',
|
||||
'Language' => 'Language',
|
||||
'List' => 'List',
|
||||
'Tag' => 'Tag',
|
||||
'Tags' => 'Tags',
|
||||
'Title' => 'Title',
|
||||
'InternalName' => 'Internal Name',
|
||||
'Color' => 'Color',
|
||||
'Create' => 'Create',
|
||||
'Icon' => 'Icon',
|
||||
'Language' => 'Language',
|
||||
'List' => 'List',
|
||||
'Tag' => 'Tag',
|
||||
'Tags' => 'Tags',
|
||||
'Title' => 'Title',
|
||||
'InternalName' => 'Internal Name',
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user