diff --git a/Admin/Install/Editor.install.json b/Admin/Install/Editor.install.json new file mode 100644 index 0000000..d216049 --- /dev/null +++ b/Admin/Install/Editor.install.json @@ -0,0 +1,10 @@ +[ + { + "type": "type", + "name": "supplier_backend_warning", + "l11n": { + "en": "Backend warning", + "de": "Backend Warnung" + } + } +] \ No newline at end of file diff --git a/Admin/Install/Editor.php b/Admin/Install/Editor.php new file mode 100644 index 0000000..e83a24d --- /dev/null +++ b/Admin/Install/Editor.php @@ -0,0 +1,43 @@ + __DIR__ . '/Editor.install.json']); + } +} diff --git a/info.json b/info.json index 7863307..b68214a 100755 --- a/info.json +++ b/info.json @@ -24,6 +24,7 @@ }, "providing": { "Navigation": "*", + "Editor": "*", "Media": "*" }, "load": [ diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index b5d36a8..4d624b6 100755 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -302,7 +302,7 @@ if (\defined('RESET') && RESET === '1') { $db->exec('DROP DATABASE IF EXISTS ' . $CONFIG['db']['core']['masters']['admin']['database']); $db->exec('CREATE DATABASE IF NOT EXISTS ' . $CONFIG['db']['core']['masters']['admin']['database']); $db = null; - } catch (\Throwable $t) { + } catch (\Throwable $_) { echo "\nCouldn't connect to MYSQL DB\n"; } } @@ -317,7 +317,7 @@ if (\defined('RESET') && RESET === '1') { $db->exec('DROP DATABASE IF EXISTS ' . $CONFIG['db']['core']['postgresql']['admin']['database']); $db->exec('CREATE DATABASE ' . $CONFIG['db']['core']['postgresql']['admin']['database']); $db = null; - } catch (\Throwable $t) { + } catch (\Throwable $_) { echo "\nCouldn't connect to POSTGRESQL DB\n"; } } @@ -332,7 +332,7 @@ if (\defined('RESET') && RESET === '1') { $db->exec('DROP DATABASE IF EXISTS ' . $CONFIG['db']['core']['mssql']['admin']['database']); $db->exec('CREATE DATABASE ' . $CONFIG['db']['core']['mssql']['admin']['database']); $db = null; - } catch (\Throwable $t) { + } catch (\Throwable $_) { echo "\nCouldn't connect to MSSQL DB\n"; } }