This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:39 +00:00
parent cf43cac5ac
commit 949bfeff28
23 changed files with 67 additions and 67 deletions

View File

@ -128,7 +128,7 @@ final class ApiController extends Controller
$internalResponse = new HttpResponse();
$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;
}

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'تاريخ',
'Description' => 'وصف',
'Dropdown' => 'اسقاط',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'نهاية',
'Group' => 'مجموعة',
'Manager' => 'مدير',
'Name' => 'اسم',
'Number' => 'عدد',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'سؤال',
'Questionee' => 'إستساءات',
'Questions' => 'أسئلة',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'حالة',
'Survey' => 'الدراسة الاستقصائية',
'Surveys' => 'الدراسات الاستقصائية',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'نص',
'Title' => 'عنوان',
'Type' => 'نوع',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'datum',
'Description' => 'Popis',
'Dropdown' => 'Rozevírání',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Konec',
'Group' => 'Skupina',
'Manager' => 'Manažer',
'Name' => 'název',
'Number' => 'Číslo',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Otázka',
'Questionee' => 'Dotazník',
'Questions' => 'Otázky',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Postavení',
'Survey' => 'Průzkum',
'Surveys' => 'Průzkumy',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Text',
'Title' => 'Titul',
'Type' => 'Typ',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Dato',
'Description' => 'Beskrivelse',
'Dropdown' => 'Dropdown.',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Ende',
'Group' => 'Gruppe',
'Manager' => 'Manager',
'Name' => 'Navn',
'Number' => 'Nummer',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Spørgsmål',
'Questionee' => 'Spørgsmålstegn ved spørgsmålet.',
'Questions' => 'Spørgsmål',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status.',
'Survey' => 'Undersøgelse',
'Surveys' => 'Undersøgelser.',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Tekst',
'Title' => 'Titel',
'Type' => 'Type',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Datum',
'Description' => 'Beschreibung',
'Dropdown' => 'Dropdown-Liste',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Ende',
'Group' => 'Gruppe',
'Manager' => 'Manager',
'Name' => 'Name',
'Number' => 'Nummer',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Frage',
'Questionee' => 'Phasee',
'Questions' => 'Fragen',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status',
'Survey' => 'Umfrage',
'Surveys' => 'Umfragen',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Text',
'Title' => 'Titel',
'Type' => 'Typ',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Ημερομηνία',
'Description' => 'Περιγραφή',
'Dropdown' => 'Σαπουνάδα',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Τέλος',
'Group' => 'Ομάδα',
'Manager' => 'Διευθυντής',
'Name' => 'Ονομα',
'Number' => 'Αριθμός',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Ερώτηση',
'Questionee' => 'Ερωτηματολόγιο',
'Questions' => 'Ερωτήματα',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Κατάσταση',
'Survey' => 'Επισκόπηση',
'Surveys' => 'Ερευνες',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Κείμενο',
'Title' => 'Τίτλος',
'Type' => 'Τύπος',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Fecha',
'Description' => 'Descripción',
'Dropdown' => 'Desplegable',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Fin',
'Group' => 'Grupo',
'Manager' => 'Gerente',
'Name' => 'Nombre',
'Number' => 'Número',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Pregunta',
'Questionee' => 'Corredito',
'Questions' => 'Preguntas',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Estado',
'Survey' => 'Encuesta',
'Surveys' => 'Encuestas',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Texto',
'Title' => 'Título',
'Type' => 'Escribe',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Päivämäärä',
'Description' => 'Kuvaus',
'Dropdown' => 'Pudota alas',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Loppu',
'Group' => 'Ryhmä',
'Manager' => 'Johtaja',
'Name' => 'Nimi',
'Number' => 'Määrä',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Kysymys',
'Questionee' => 'Kysymys',
'Questions' => 'Kysymykset',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Tila',
'Survey' => 'Tutkiminen',
'Surveys' => 'Tutkimukset',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Teksti',
'Title' => 'Otsikko',
'Type' => 'Tyyppi',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Date',
'Description' => 'La description',
'Dropdown' => 'Menu déroulant',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Finir',
'Group' => 'Grouper',
'Manager' => 'Directeur',
'Name' => 'Nom',
'Number' => 'Nombre',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Question',
'Questionee' => 'Questione',
'Questions' => 'Des questions',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Statut',
'Survey' => 'Sondage',
'Surveys' => 'Enquêtes',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Texte',
'Title' => 'Titre',
'Type' => 'Taper',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Dátum',
'Description' => 'Leírás',
'Dropdown' => 'Ledob',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Vége',
'Group' => 'Csoport',
'Manager' => 'Menedzser',
'Name' => 'Név',
'Number' => 'Szám',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Kérdés',
'Questionee' => 'Kérdőíves',
'Questions' => 'Kérdések',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Állapot',
'Survey' => 'Felmérés',
'Surveys' => 'Felmérések',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Szöveg',
'Title' => 'Cím',
'Type' => 'típus',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Data',
'Description' => 'Descrizione',
'Dropdown' => 'Cadere in picchiata',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Fine',
'Group' => 'Gruppo',
'Manager' => 'Gestore',
'Name' => 'Nome',
'Number' => 'Numero',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Domanda',
'Questionee' => 'Questionee.',
'Questions' => 'Domande',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Stato',
'Survey' => 'Sondaggio',
'Surveys' => 'Sondaggi',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Testo',
'Title' => 'Titolo',
'Type' => 'Tipo',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => '日にち',
'Description' => '説明',
'Dropdown' => '落ちる',
'Element' => '#VALUE!',
'Element' => '',
'End' => '終わり',
'Group' => 'グループ',
'Manager' => 'マネジャー',
'Name' => '名前',
'Number' => '番号',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => '質問',
'Questionee' => 'question question',
'Questions' => '質問',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => '状態',
'Survey' => '調査',
'Surveys' => '調査',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => '文章',
'Title' => 'タイトル',
'Type' => 'タイプ',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => '날짜',
'Description' => '설명',
'Dropdown' => '쓰러지 다',
'Element' => '#VALUE!',
'Element' => '',
'End' => '끝',
'Group' => '그룹',
'Manager' => '관리자',
'Name' => '이름',
'Number' => '숫자',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => '의문',
'Questionee' => 'question.',
'Questions' => '질문',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => '상태',
'Survey' => '조사',
'Surveys' => '조사',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => '텍스트',
'Title' => '제목',
'Type' => '유형',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Dato',
'Description' => 'Beskrivelse',
'Dropdown' => 'Fall ned',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Slutt',
'Group' => 'Gruppe',
'Manager' => 'sjef',
'Name' => 'Navn',
'Number' => 'Nummer',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Spørsmål',
'Questionee' => 'Questionee.',
'Questions' => 'Spørsmål',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status',
'Survey' => 'undersøkelse',
'Surveys' => 'Undersøkelser',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Tekst',
'Title' => 'Tittel',
'Type' => 'Type',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Data',
'Description' => 'Opis',
'Dropdown' => 'Upuścić',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Kończyć się',
'Group' => 'Grupa',
'Manager' => 'Menedżer',
'Name' => 'Nazwa',
'Number' => 'Numer',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Pytanie',
'Questionee' => 'Prowy',
'Questions' => 'pytania',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status',
'Survey' => 'Ankieta',
'Surveys' => 'Ankiety',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Tekst',
'Title' => 'Tytuł',
'Type' => 'Rodzaj',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Encontro',
'Description' => 'Descrição',
'Dropdown' => 'Suspenso',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Fim',
'Group' => 'Grupo',
'Manager' => 'Gerente',
'Name' => 'Nome',
'Number' => 'Número',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Pergunta',
'Questionee' => 'Questione',
'Questions' => 'Perguntas',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status',
'Survey' => 'Pesquisa',
'Surveys' => 'pesquisas',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Texto',
'Title' => 'Título',
'Type' => 'Modelo',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Дата',
'Description' => 'Описание',
'Dropdown' => 'Падать',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Конец',
'Group' => 'Группа',
'Manager' => 'Управляющий делами',
'Name' => 'Имя',
'Number' => 'Число',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Вопрос',
'Questionee' => 'Вопрос',
'Questions' => 'Вопросы',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Статус',
'Survey' => 'Опрос',
'Surveys' => 'Опрокидывание',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Текст',
'Title' => 'Заголовок',
'Type' => 'Тип',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Datum',
'Description' => 'Beskrivning',
'Dropdown' => 'Falla ner',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Slutet',
'Group' => 'Grupp',
'Manager' => 'Chef',
'Name' => 'namn',
'Number' => 'siffra',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Fråga',
'Questionee' => 'Fråge',
'Questions' => 'Frågor',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Status',
'Survey' => 'Undersökning',
'Surveys' => 'Undersökningar',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Text',
'Title' => 'Titel',
'Type' => 'Typ',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'วันที่',
'Description' => 'คำอธิบาย',
'Dropdown' => 'หล่นลง',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'จบ',
'Group' => 'กลุ่ม',
'Manager' => 'ผู้จัดการ',
'Name' => 'ชื่อ',
'Number' => 'ตัวเลข',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'คำถาม',
'Questionee' => 'ผู้ถาม',
'Questions' => 'คำถาม',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'สถานะ',
'Survey' => 'สำรวจ',
'Surveys' => 'การสำรวจ',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'ข้อความ',
'Title' => 'ชื่อ',
'Type' => 'พิมพ์',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Tarih',
'Description' => 'Açıklama',
'Dropdown' => 'Yıkılmak',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Son',
'Group' => 'Grup',
'Manager' => 'Yönetici',
'Name' => 'İsim',
'Number' => 'Numara',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Soru',
'Questionee' => 'Soruşturma',
'Questions' => 'Sorular',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Durum',
'Survey' => 'Anket',
'Surveys' => 'Anketler',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Metin',
'Title' => 'Başlık',
'Type' => 'Tip',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => 'Дата',
'Description' => 'Опис',
'Dropdown' => 'Спадство',
'Element' => '#VALUE!',
'Element' => '',
'End' => 'Кінець',
'Group' => 'Група',
'Manager' => 'Керівник',
'Name' => 'Назва',
'Number' => 'Число',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => 'Запитання',
'Questionee' => 'Запит',
'Questions' => 'Запитання',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => 'Статус',
'Survey' => 'Обстеження',
'Surveys' => 'Обстеження',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => 'Текст',
'Title' => 'Заголовок',
'Type' => 'Тип',

View File

@ -22,13 +22,13 @@ return ['Surveys' => [
'Date' => '日期',
'Description' => '描述',
'Dropdown' => '落下',
'Element' => '#VALUE!',
'Element' => '',
'End' => '结尾',
'Group' => '团体',
'Manager' => '经理',
'Name' => '名称',
'Number' => '数字',
'Preview' => '#VALUE!',
'Preview' => '',
'Question' => '问题',
'Questionee' => '问号',
'Questions' => '问题',
@ -43,7 +43,7 @@ return ['Surveys' => [
'Status' => '地位',
'Survey' => '民意调查',
'Surveys' => '调查',
'Tag' => '#VALUE!',
'Tag' => '',
'Text' => '文本',
'Title' => '标题',
'Type' => '类型',

View File

@ -126,7 +126,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->setData('media', \json_encode([1]));
$this->module->apiSurveyTemplateCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -167,7 +167,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
$this->module->apiSurveyTemplateElementCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -201,7 +201,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->module->apiSurveyAnswerCreate($request, $response);
self::markTestIncomplete();
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**