This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:38 +00:00
parent 4a90ad94a0
commit 2c86dce085
23 changed files with 115 additions and 115 deletions

View File

@ -105,7 +105,7 @@ final class ApiController extends Controller
$internalResponse = new HttpResponse(); $internalResponse = new HttpResponse();
$this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse); $this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse);
if (!\is_array($data = $internalResponse->get($request->uri->__toString()))) { if (!\is_array($data = $internalResponse->getDataArray($request->uri->__toString()))) {
continue; continue;
} }
@ -310,7 +310,7 @@ final class ApiController extends Controller
$internalResponse = new HttpResponse(); $internalResponse = new HttpResponse();
$this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse); $this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse);
if (!\is_array($data = $internalResponse->get($request->uri->__toString()))) { if (!\is_array($data = $internalResponse->getDataArray($request->uri->__toString()))) {
continue; continue;
} }

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'نشيط', ':bStatus1' => 'نشيط',
':bStatus2' => 'غير نشط', ':bStatus2' => 'غير نشط',
':bStatus3' => 'في الأرشيف', ':bStatus3' => 'في الأرشيف',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'لوحة القيادة', 'Dashboard' => 'لوحة القيادة',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktivní', ':bStatus1' => 'Aktivní',
':bStatus2' => 'Neaktivní', ':bStatus2' => 'Neaktivní',
':bStatus3' => 'Archivovaný', ':bStatus3' => 'Archivovaný',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Přístrojová deska', 'Dashboard' => 'Přístrojová deska',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktiv', ':bStatus1' => 'Aktiv',
':bStatus2' => 'Inaktiv.', ':bStatus2' => 'Inaktiv.',
':bStatus3' => 'Arkiveret', ':bStatus3' => 'Arkiveret',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Dashboard.', 'Dashboard' => 'Dashboard.',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktiv', ':bStatus1' => 'Aktiv',
':bStatus2' => 'Inaktiv', ':bStatus2' => 'Inaktiv',
':bStatus3' => 'Archiviert', ':bStatus3' => 'Archiviert',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Armaturenbrett', 'Dashboard' => 'Armaturenbrett',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Ενεργός', ':bStatus1' => 'Ενεργός',
':bStatus2' => 'Αδρανής', ':bStatus2' => 'Αδρανής',
':bStatus3' => 'Αρχειοθετημένα', ':bStatus3' => 'Αρχειοθετημένα',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Ταμπλό', 'Dashboard' => 'Ταμπλό',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Activo', ':bStatus1' => 'Activo',
':bStatus2' => 'Inactivo', ':bStatus2' => 'Inactivo',
':bStatus3' => 'Archivado', ':bStatus3' => 'Archivado',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Tablero de mandos', 'Dashboard' => 'Tablero de mandos',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktiivinen', ':bStatus1' => 'Aktiivinen',
':bStatus2' => 'Epäaktiivinen', ':bStatus2' => 'Epäaktiivinen',
':bStatus3' => 'Arkistoitu', ':bStatus3' => 'Arkistoitu',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Kojelauta', 'Dashboard' => 'Kojelauta',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'actif', ':bStatus1' => 'actif',
':bStatus2' => 'Inactif', ':bStatus2' => 'Inactif',
':bStatus3' => 'Archivé', ':bStatus3' => 'Archivé',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Tableau de bord', 'Dashboard' => 'Tableau de bord',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktív', ':bStatus1' => 'Aktív',
':bStatus2' => 'Inaktív', ':bStatus2' => 'Inaktív',
':bStatus3' => 'Archivált', ':bStatus3' => 'Archivált',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Irányítópult', 'Dashboard' => 'Irányítópult',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Attivo', ':bStatus1' => 'Attivo',
':bStatus2' => 'Non attivo', ':bStatus2' => 'Non attivo',
':bStatus3' => 'Archiviato', ':bStatus3' => 'Archiviato',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Pannello di controllo', 'Dashboard' => 'Pannello di controllo',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'アクティブ', ':bStatus1' => 'アクティブ',
':bStatus2' => '非活性', ':bStatus2' => '非活性',
':bStatus3' => 'アーカイブ', ':bStatus3' => 'アーカイブ',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'ダッシュボード', 'Dashboard' => 'ダッシュボード',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => '활동적인', ':bStatus1' => '활동적인',
':bStatus2' => '비활성으로', ':bStatus2' => '비활성으로',
':bStatus3' => '보관', ':bStatus3' => '보관',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => '계기반', 'Dashboard' => '계기반',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktiv', ':bStatus1' => 'Aktiv',
':bStatus2' => 'Inaktiv', ':bStatus2' => 'Inaktiv',
':bStatus3' => 'Arkivert', ':bStatus3' => 'Arkivert',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Dashboard.', 'Dashboard' => 'Dashboard.',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktywny', ':bStatus1' => 'Aktywny',
':bStatus2' => 'Nieaktywny', ':bStatus2' => 'Nieaktywny',
':bStatus3' => 'Zarchiwizowany', ':bStatus3' => 'Zarchiwizowany',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Panel', 'Dashboard' => 'Panel',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Ativo', ':bStatus1' => 'Ativo',
':bStatus2' => 'Inativo', ':bStatus2' => 'Inativo',
':bStatus3' => 'Arquivado', ':bStatus3' => 'Arquivado',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Painel', 'Dashboard' => 'Painel',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Активный', ':bStatus1' => 'Активный',
':bStatus2' => 'Неактивный', ':bStatus2' => 'Неактивный',
':bStatus3' => 'В архиве', ':bStatus3' => 'В архиве',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Приборная доска', 'Dashboard' => 'Приборная доска',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktiva', ':bStatus1' => 'Aktiva',
':bStatus2' => 'Inaktiv', ':bStatus2' => 'Inaktiv',
':bStatus3' => 'Arkiverad', ':bStatus3' => 'Arkiverad',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'instrumentbräda', 'Dashboard' => 'instrumentbräda',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'คล่องแคล่ว', ':bStatus1' => 'คล่องแคล่ว',
':bStatus2' => 'ไม่ใช้งาน', ':bStatus2' => 'ไม่ใช้งาน',
':bStatus3' => 'ที่เก็บถาวร', ':bStatus3' => 'ที่เก็บถาวร',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'แผงควบคุม', 'Dashboard' => 'แผงควบคุม',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Aktif', ':bStatus1' => 'Aktif',
':bStatus2' => 'Aktif olmayan', ':bStatus2' => 'Aktif olmayan',
':bStatus3' => 'Arşivlenmiş', ':bStatus3' => 'Arşivlenmiş',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Gösterge Paneli', 'Dashboard' => 'Gösterge Paneli',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => 'Активний', ':bStatus1' => 'Активний',
':bStatus2' => 'Неактивний', ':bStatus2' => 'Неактивний',
':bStatus3' => 'Архівований', ':bStatus3' => 'Архівований',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => 'Панель приладів', 'Dashboard' => 'Панель приладів',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -16,14 +16,14 @@ return ['Kanban' => [
':bStatus1' => '积极的', ':bStatus1' => '积极的',
':bStatus2' => '不活跃', ':bStatus2' => '不活跃',
':bStatus3' => '存档', ':bStatus3' => '存档',
'Archive' => '#VALUE!', 'Archive' => '',
'Back' => '#VALUE!', 'Back' => '',
'Dashboard' => '仪表板', 'Dashboard' => '仪表板',
'Date' => '#VALUE!', 'Date' => '',
'Description' => '', 'Description' => '',
'Kanban' => '', 'Kanban' => '',
'Name' => '', 'Name' => '',
'Status' => '#VALUE!', 'Status' => '',
'Tags' => '', 'Tags' => '',
'Title' => '#VALUE!', 'Title' => '',
]]; ]];

View File

@ -105,8 +105,8 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->module->apiKanbanBoardCreate($request, $response); $this->module->apiKanbanBoardCreate($request, $response);
self::assertEquals('Controller Test Board', $response->get('')['response']->name); self::assertEquals('Controller Test Board', $response->getDataArray('')['response']->name);
self::assertGreaterThan(0, $bId = $response->get('')['response']->id); self::assertGreaterThan(0, $bId = $response->getDataArray('')['response']->id);
// update // update
$response = new HttpResponse(); $response = new HttpResponse();
@ -117,7 +117,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->setData('title', 'New Controller Test Board'); $request->setData('title', 'New Controller Test Board');
$this->module->apiKanbanBoardUpdate($request, $response); $this->module->apiKanbanBoardUpdate($request, $response);
self::assertEquals('New Controller Test Board', $response->get('')['response']->name); self::assertEquals('New Controller Test Board', $response->getDataArray('')['response']->name);
} }
/** /**
@ -135,8 +135,8 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->module->apiKanbanColumnCreate($request, $response); $this->module->apiKanbanColumnCreate($request, $response);
self::assertEquals('Controller Test Column', $response->get('')['response']->name); self::assertEquals('Controller Test Column', $response->getDataArray('')['response']->name);
self::assertGreaterThan(0, $response->get('')['response']->id); self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
} }
/** /**
@ -172,8 +172,8 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->module->apiKanbanCardCreate($request, $response); $this->module->apiKanbanCardCreate($request, $response);
self::assertEquals('Controller Test Card', $response->get('')['response']->name); self::assertEquals('Controller Test Card', $response->getDataArray('')['response']->name);
self::assertGreaterThan(0, $response->get('')['response']->id); self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
} }
/** /**
@ -206,7 +206,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->setData('media', \json_encode([1])); $request->setData('media', \json_encode([1]));
$this->module->apiKanbanCardCommentCreate($request, $response); $this->module->apiKanbanCardCommentCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id); self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
} }
/** /**