This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:38 +00:00
parent f46875a322
commit 8fbb43bc89
23 changed files with 150 additions and 150 deletions

View File

@ -157,7 +157,7 @@ final class Installer extends InstallerAbstract
$module->apiInterfaceInstall($request, $response);
\rmdir($tmpPath);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
return [];
}

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'قاعدة البيانات',
'End' => 'نهاية',
'Exchange' => 'تبادل',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'كلمة المرور',
'Port' => 'ميناء',
'Start' => 'يبدأ',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'موقع إلكتروني',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Databáze',
'End' => 'Konec',
'Exchange' => 'Výměna',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Heslo',
'Port' => 'Přístav',
'Start' => 'Start',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'webová stránka',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Database.',
'End' => 'Ende',
'Exchange' => 'Udveksling',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Adgangskode',
'Port' => 'Havn',
'Start' => 'Start',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Internet side',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Datenbank',
'End' => 'Ende',
'Exchange' => 'Austausch',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Passwort',
'Port' => 'Hafen',
'Start' => 'Anfang',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Webseite',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Βάση δεδομένων',
'End' => 'Τέλος',
'Exchange' => 'Ανταλλαγή',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Κωδικός πρόσβασης',
'Port' => 'Λιμάνι',
'Start' => 'Αρχή',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Δικτυακός τόπος',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Base de datos',
'End' => 'Fin',
'Exchange' => 'Intercambio',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Contraseña',
'Port' => 'Puerto',
'Start' => 'Comienzo',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Sitio web',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Tietokanta',
'End' => 'Loppu',
'Exchange' => 'Vaihto',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Salasana',
'Port' => 'Portti',
'Start' => 'alkaa',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Verkkosivusto',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Base de données',
'End' => 'Finir',
'Exchange' => 'Échange',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Mot de passe',
'Port' => 'Port',
'Start' => 'Démarrer',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Site Internet',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Adatbázis',
'End' => 'Vége',
'Exchange' => 'Csere',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Jelszó',
'Port' => 'Kikötő',
'Start' => 'Rajt',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Weboldal',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Banca dati',
'End' => 'Fine',
'Exchange' => 'Scambio',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Parola d\'ordine',
'Port' => 'Porta',
'Start' => 'Inizio',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Sito web',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'データベース',
'End' => '終わり',
'Exchange' => '交換',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'パスワード',
'Port' => 'ポート',
'Start' => '始める',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Webサイト',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => '데이터 베이스',
'End' => '끝',
'Exchange' => '교환',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => '비밀번호',
'Port' => '포트',
'Start' => '시작',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => '웹 사이트',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Database',
'End' => 'Slutt',
'Exchange' => 'Utveksling',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Passord',
'Port' => 'Havn',
'Start' => 'Start',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Nettside',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Baza danych',
'End' => 'Kończyć się',
'Exchange' => 'Giełda',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Hasło',
'Port' => 'Port',
'Start' => 'Początek',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Stronie internetowej',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Base de dados',
'End' => 'Fim',
'Exchange' => 'Troca',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Senha',
'Port' => 'Porta',
'Start' => 'Começar',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Local na rede Internet',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'База данных',
'End' => 'Конец',
'Exchange' => 'Обмен',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Пароль',
'Port' => 'Порт',
'Start' => 'Начинать',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Веб-сайт',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Databas',
'End' => 'Slutet',
'Exchange' => 'Utbyta',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Lösenord',
'Port' => 'Hamn',
'Start' => 'Start',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Hemsida',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'ฐานข้อมูล',
'End' => 'จบ',
'Exchange' => 'แลกเปลี่ยน',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'รหัสผ่าน',
'Port' => 'ท่าเรือ',
'Start' => 'เริ่ม',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'เว็บไซต์',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'Veri tabanı',
'End' => 'Son',
'Exchange' => 'Değiş tokuş',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Parola',
'Port' => 'Liman',
'Start' => 'Başlangıç',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'İnternet sitesi',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => 'База даних',
'End' => 'Кінець',
'Exchange' => 'Обмін',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => 'Пароль',
'Port' => 'Порт',
'Start' => 'Почати',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => 'Веб-сайт',
]];

View File

@ -13,10 +13,10 @@
declare(strict_types=1);
return ['Exchange' => [
'Created' => '#VALUE!',
'CreatedAt' => '#VALUE!',
'CreatedBy' => '#VALUE!',
'Creator' => '#VALUE!',
'Created' => '',
'CreatedAt' => '',
'CreatedBy' => '',
'Creator' => '',
'Database' => '数据库',
'End' => '结尾',
'Exchange' => '交换',
@ -32,8 +32,8 @@ return ['Exchange' => [
'Password' => '密码',
'Port' => '港口',
'Start' => '开始',
'Subtype' => '#VALUE!',
'Title' => '#VALUE!',
'Type' => '#VALUE!',
'Subtype' => '',
'Title' => '',
'Type' => '',
'Website' => '网站',
]];

View File

@ -169,7 +169,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
TestUtils::setMember($request, 'files', $files);
$this->module->apiInterfaceInstall($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
if (\is_dir(__DIR__ . '/temp')) {
@ -207,7 +207,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->setData('type', 'language');
$this->module->apiExchangeExport($request, $response);
self::assertTrue(\strlen($response->get('')) > 500);
self::assertTrue(\strlen($response->getData('')) > 500);
}
/**