mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Bug fixes
This commit is contained in:
@@ -23,9 +23,7 @@ class Abgabe extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AbgabeModel
|
||||
$this->load->model('education/abgabe', 'AbgabeModel');
|
||||
|
||||
|
||||
$this->load->model('education/Abgabe_model', 'AbgabeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Abschlussbeurteilung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AbschlussbeurteilungModel
|
||||
$this->load->model('education/abschlussbeurteilung', 'AbschlussbeurteilungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Abschlussbeurteilung_model', 'AbschlussbeurteilungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Abschlusspruefung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AbschlusspruefungModel
|
||||
$this->load->model('education/abschlusspruefung', 'AbschlusspruefungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Abschlusspruefung_model', 'AbschlusspruefungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Anrechnung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AnrechnungModel
|
||||
$this->load->model('education/anrechnung', 'AnrechnungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Anrechnung_model', 'AnrechnungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Anwesenheit extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AnwesenheitModel
|
||||
$this->load->model('education/anwesenheit', 'AnwesenheitModel');
|
||||
|
||||
|
||||
$this->load->model('education/Anwesenheit_model', 'AnwesenheitModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Beispiel extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BeispielModel
|
||||
$this->load->model('education/beispiel', 'BeispielModel');
|
||||
|
||||
|
||||
$this->load->model('education/Beispiel_model', 'BeispielModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Betreuerart extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model BetreuerartModel
|
||||
$this->load->model('education/betreuerart', 'BetreuerartModel');
|
||||
|
||||
|
||||
$this->load->model('education/Betreuerart_model', 'BetreuerartModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Feedback extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model FeedbackModel
|
||||
$this->load->model('education/feedback', 'FeedbackModel');
|
||||
|
||||
|
||||
$this->load->model('education/Feedback_model', 'FeedbackModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Legesamtnote extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LegesamtnoteModel
|
||||
$this->load->model('education/legesamtnote', 'LegesamtnoteModel');
|
||||
|
||||
|
||||
$this->load->model('education/Legesamtnote_model', 'LegesamtnoteModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehreinheit extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehreinheitModel
|
||||
$this->load->model('education/lehreinheit', 'LehreinheitModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehreinheit_model', 'LehreinheitModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehreinheitgruppe extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehreinheitgruppeModel
|
||||
$this->load->model('education/lehreinheitgruppe', 'LehreinheitgruppeModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehreinheitgruppe_model', 'LehreinheitgruppeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehreinheitmitarbeiter extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehreinheitmitarbeiterModel
|
||||
$this->load->model('education/lehreinheitmitarbeiter', 'LehreinheitmitarbeiterModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehreinheitmitarbeiter_model', 'LehreinheitmitarbeiterModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehrfach extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehrfachModel
|
||||
$this->load->model('education/lehrfach', 'LehrfachModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehrfach_model', 'LehrfachModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehrfunktion extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehrfunktionModel
|
||||
$this->load->model('education/lehrfunktion', 'LehrfunktionModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehrfunktion_model', 'LehrfunktionModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehrtyp extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehrtypModel
|
||||
$this->load->model('education/lehrtyp', 'LehrtypModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehrtyp_model', 'LehrtypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lehrveranstaltung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LehrveranstaltungModel
|
||||
$this->load->model('education/lehrveranstaltung', 'LehrveranstaltungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lehrveranstaltung_model', 'LehrveranstaltungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class LeNotenschluessel extends APIv1_Controller
|
||||
class Lenotenschluessel extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* LeNotenschluessel API constructor.
|
||||
@@ -23,7 +23,7 @@ class LeNotenschluessel extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LeNotenschluesselModel
|
||||
$this->load->model('education/lenotenschluessel', 'LeNotenschluesselModel');
|
||||
$this->load->model('education/LeNotenschluessel_model', 'LeNotenschluesselModel');
|
||||
|
||||
|
||||
}
|
||||
+2
-4
@@ -14,7 +14,7 @@
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class LePruefung extends APIv1_Controller
|
||||
class Lepruefung extends APIv1_Controller
|
||||
{
|
||||
/**
|
||||
* LePruefung API constructor.
|
||||
@@ -23,9 +23,7 @@ class LePruefung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LePruefungModel
|
||||
$this->load->model('education/lepruefung', 'LePruefungModel');
|
||||
|
||||
|
||||
$this->load->model('education/LePruefung_model', 'LePruefungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -23,9 +23,7 @@ class Lvangebot extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LvangebotModel
|
||||
$this->load->model('education/lvangebot', 'LvangebotModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lvangebot_model', 'LvangebotModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lvgesamtnote extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LvgesamtnoteModel
|
||||
$this->load->model('education/lvgesamtnote', 'LvgesamtnoteModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lvgesamtnote_model', 'LvgesamtnoteModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lvinfo extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LvinfoModel
|
||||
$this->load->model('education/lvinfo', 'LvinfoModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lvinfo_model', 'LvinfoModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lvregel extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LvregelModel
|
||||
$this->load->model('education/lvregel', 'LvregelModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lvregel_model', 'LvregelModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Lvregeltyp extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model LvregeltypModel
|
||||
$this->load->model('education/lvregeltyp', 'LvregeltypModel');
|
||||
|
||||
|
||||
$this->load->model('education/Lvregeltyp_model', 'LvregeltypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Moodle extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model MoodleModel
|
||||
$this->load->model('education/moodle', 'MoodleModel');
|
||||
|
||||
|
||||
$this->load->model('education/Moodle_model', 'MoodleModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Notenschluessel extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NotenschluesselModel
|
||||
$this->load->model('education/notenschluessel', 'NotenschluesselModel');
|
||||
|
||||
|
||||
$this->load->model('education/Notenschluessel_model', 'NotenschluesselModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Notenschluesselaufteilung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NotenschluesselaufteilungModel
|
||||
$this->load->model('education/notenschluesselaufteilung', 'NotenschluesselaufteilungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Notenschluesselaufteilung_model', 'NotenschluesselaufteilungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Notenschluesseluebung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NotenschluesseluebungModel
|
||||
$this->load->model('education/notenschluesseluebung', 'NotenschluesseluebungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Notenschluesseluebung_model', 'NotenschluesseluebungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Notenschluesselzuordnung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model NotenschluesselzuordnungModel
|
||||
$this->load->model('education/notenschluesselzuordnung', 'NotenschluesselzuordnungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Notenschluesselzuordnung_model', 'NotenschluesselzuordnungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Paabgabe extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PaabgabeModel
|
||||
$this->load->model('education/paabgabe', 'PaabgabeModel');
|
||||
|
||||
|
||||
$this->load->model('education/Paabgabe_model', 'PaabgabeModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Paabgabetyp extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PaabgabetypModel
|
||||
$this->load->model('education/paabgabetyp', 'PaabgabetypModel');
|
||||
|
||||
|
||||
$this->load->model('education/Paabgabetyp_model', 'PaabgabetypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Projektarbeit extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ProjektarbeitModel
|
||||
$this->load->model('education/projektarbeit', 'ProjektarbeitModel');
|
||||
|
||||
|
||||
$this->load->model('education/Projektarbeit_model', 'ProjektarbeitModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Projektbetreuer extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ProjektbetreuerModel
|
||||
$this->load->model('education/projektbetreuer', 'ProjektbetreuerModel');
|
||||
|
||||
|
||||
$this->load->model('education/Projektbetreuer_model', 'ProjektbetreuerModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Projekttyp extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ProjekttypModel
|
||||
$this->load->model('education/projekttyp', 'ProjekttypModel');
|
||||
|
||||
|
||||
$this->load->model('education/Projekttyp_model', 'ProjekttypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungModel
|
||||
$this->load->model('education/pruefung', 'PruefungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefung_model', 'PruefungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefungsanmeldung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungsanmeldungModel
|
||||
$this->load->model('education/pruefungsanmeldung', 'PruefungsanmeldungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefungsanmeldung_model', 'PruefungsanmeldungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefungsfenster extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungsfensterModel
|
||||
$this->load->model('education/pruefungsfenster', 'PruefungsfensterModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefungsfenster_model', 'PruefungsfensterModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefungsstatus extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungsstatusModel
|
||||
$this->load->model('education/pruefungsstatus', 'PruefungsstatusModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefungsstatus_model', 'PruefungsstatusModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefungstermin extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungsterminModel
|
||||
$this->load->model('education/pruefungstermin', 'PruefungsterminModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefungstermin_model', 'PruefungsterminModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Pruefungstyp extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model PruefungstypModel
|
||||
$this->load->model('education/pruefungstyp', 'PruefungstypModel');
|
||||
|
||||
|
||||
$this->load->model('education/Pruefungstyp_model', 'PruefungstypModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Studentbeispiel extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model StudentbeispielModel
|
||||
$this->load->model('education/studentbeispiel', 'StudentbeispielModel');
|
||||
|
||||
|
||||
$this->load->model('education/Studentbeispiel_model', 'StudentbeispielModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Studentlehrverband extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model StudentlehrverbandModel
|
||||
$this->load->model('education/studentlehrverband', 'StudentlehrverbandModel');
|
||||
|
||||
|
||||
$this->load->model('education/Studentlehrverband_model', 'StudentlehrverbandModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Studentuebung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model StudentuebungModel
|
||||
$this->load->model('education/studentuebung', 'StudentuebungModel');
|
||||
|
||||
|
||||
$this->load->model('education/Studentuebung_model', 'StudentuebungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Uebung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model UebungModel
|
||||
$this->load->model('education/uebung', 'UebungModel');
|
||||
|
||||
|
||||
$this->load->model('Education/uebung_model', 'UebungModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Zeugnis extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZeugnisModel
|
||||
$this->load->model('education/zeugnis', 'ZeugnisModel');
|
||||
|
||||
|
||||
$this->load->model('education/Zeugnis_model', 'ZeugnisModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Zeugnisnote extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ZeugnisnoteModel
|
||||
$this->load->model('education/zeugnisnote', 'ZeugnisnoteModel');
|
||||
|
||||
|
||||
$this->load->model('education/Zeugnisnote_model', 'ZeugnisnoteModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Appdaten extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model AppdatenModel
|
||||
$this->load->model('system/appdaten_model', 'AppdatenModel');
|
||||
|
||||
|
||||
$this->load->model('system/Appdaten_model', 'AppdatenModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,9 +23,7 @@ class Thread extends APIv1_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
// Load model ThreadModel
|
||||
$this->load->model('system/thread_model', 'ThreadModel');
|
||||
|
||||
|
||||
$this->load->model('system/Thread_model', 'ThreadModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,8 +17,11 @@ class PhrasesLib
|
||||
|
||||
$this->ci =& get_instance();
|
||||
|
||||
// Loads message configuration
|
||||
$this->ci->config->load('message');
|
||||
|
||||
$this->ci->load->library('parser');
|
||||
|
||||
|
||||
$this->ci->load->model('system/Phrase_model', 'PhraseModel');
|
||||
$this->ci->load->model('system/Phrasentext_model', 'PhrasentextModel');
|
||||
|
||||
|
||||
@@ -423,7 +423,9 @@ DELETE FROM system.tbl_rolleberechtigung WHERE berechtigung_kurzbz IN (
|
||||
'wawi/inventar:begrenzt',
|
||||
'fs/dms',
|
||||
'system/phrase',
|
||||
'system/vorlagestudiengang'
|
||||
'system/vorlagestudiengang',
|
||||
'system/vorlage',
|
||||
'system/appdaten'
|
||||
);
|
||||
|
||||
-- DELETE FROM system.tbl_berechtigung
|
||||
@@ -652,7 +654,9 @@ DELETE FROM system.tbl_berechtigung WHERE berechtigung_kurzbz IN (
|
||||
'wawi/inventar:begrenzt',
|
||||
'fs/dms',
|
||||
'system/phrase',
|
||||
'system/vorlagestudiengang'
|
||||
'system/vorlagestudiengang',
|
||||
'system/vorlage',
|
||||
'system/appdaten'
|
||||
);
|
||||
|
||||
-- INSERT Permissions
|
||||
@@ -881,6 +885,8 @@ INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('
|
||||
INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('basis/message', '');
|
||||
INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('system/phrase', '');
|
||||
INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('system/vorlagestudiengang', '');
|
||||
INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('system/vorlage', '');
|
||||
INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('system/appdaten', '');
|
||||
|
||||
-- INSERT link between user admin and permissions
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('basis/archiv', 'admin', 'suid');
|
||||
@@ -1108,6 +1114,8 @@ INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('basis/message', 'admin', 'suid');
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('system/phrase', 'admin', 'suid');
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('system/vorlagestudiengang', 'admin', 'suid');
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('system/vorlage', 'admin', 'suid');
|
||||
INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('system/appdaten', 'admin', 'suid');
|
||||
|
||||
-- EMPTY public.tbl_statistik
|
||||
DELETE FROM public.tbl_statistik;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Abgabe/Abgabe");
|
||||
$I->wantTo("Test API call v1/education/abgabe/Abgabe");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Abgabe/Abgabe", array("abgabe_id" => "0"));
|
||||
$I->sendGET("v1/education/abgabe/Abgabe", array("abgabe_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Abschlussbeurteilung/Abschlussbeurteilung");
|
||||
$I->wantTo("Test API call v1/education/abschlussbeurteilung/Abschlussbeurteilung");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Abschlussbeurteilung/Abschlussbeurteilung", array("abschlussbeurteilung_kurzbz" => "0"));
|
||||
$I->sendGET("v1/education/abschlussbeurteilung/Abschlussbeurteilung", array("abschlussbeurteilung_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Abschlusspruefung/Abschlusspruefung");
|
||||
$I->wantTo("Test API call v1/education/abschlusspruefung/Abschlusspruefung");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Abschlusspruefung/Abschlusspruefung", array("abschlusspruefung_id" => "0"));
|
||||
$I->sendGET("v1/education/abschlusspruefung/Abschlusspruefung", array("abschlusspruefung_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/person/Adresse/Adresse");
|
||||
$I->wantTo("Test API call v1/person/adresse/Adresse");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/person/Adresse/Adresse", array());
|
||||
$I->sendGET("v1/person/adresse/Adresse", array("person_id" => 0));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Anrechnung/Anrechnung");
|
||||
$I->wantTo("Test API call v1/education/anrechnung/Anrechnung");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Anrechnung/Anrechnung", array("anrechnung_id" => "0"));
|
||||
$I->sendGET("v1/education/anrechnung/Anrechnung", array("anrechnung_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Anwesenheit/Anwesenheit");
|
||||
$I->wantTo("Test API call v1/education/anwesenheit/Anwesenheit");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Anwesenheit/Anwesenheit", array("anwesenheit_id" => "0"));
|
||||
$I->sendGET("v1/education/anwesenheit/Anwesenheit", array("anwesenheit_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/Appdaten/Appdaten");
|
||||
$I->wantTo("Test API call v1/system/appdaten/Appdaten");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/Appdaten/Appdaten", array("appdaten_id" => "0"));
|
||||
$I->sendGET("v1/system/appdaten/Appdaten", array("appdaten_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Beispiel/Beispiel");
|
||||
$I->wantTo("Test API call v1/education/beispiel/Beispiel");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Beispiel/Beispiel", array("beispiel_id" => "0"));
|
||||
$I->sendGET("v1/education/beispiel/Beispiel", array("beispiel_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Betreuerart/Betreuerart");
|
||||
$I->wantTo("Test API call v1/education/betreuerart/Betreuerart");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Betreuerart/Betreuerart", array("betreuerart_kurzbz" => "0"));
|
||||
$I->sendGET("v1/education/betreuerart/Betreuerart", array("betreuerart_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/ressource/Betriebsmittelperson2/Betriebsmittelperson2");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/ressource/Betriebsmittelperson2/Betriebsmittelperson2", array("betriebsmittelperson_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/organisation/Organisationseinheit2/Organisationseinheit2");
|
||||
$I->wantTo("Test API call v1/ressource/betriebsmittelperson/Betriebsmittelperson");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/organisation/Organisationseinheit2/Organisationseinheit2", array("oe_kurzbz" => "0"));
|
||||
$I->sendGET("v1/ressource/betriebsmittelperson/Betriebsmittelperson", array("betriebsmittelperson_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/message_old/message_old");
|
||||
$I->wantTo("Test API call v1/organisation/fachbereich/Fachbereich");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/message_old/message_old", array("message_old_id" => "0"));
|
||||
$I->sendGET("v1/organisation/fachbereich/Fachbereich", array("fachbereich_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Feedback/Feedback");
|
||||
$I->wantTo("Test API call v1/education/feedback/Feedback");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Feedback/Feedback", array("feedback_id" => "0"));
|
||||
$I->sendGET("v1/education/feedback/Feedback", array("feedback_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/organisation/Geschaeftsjahr2/Geschaeftsjahr2");
|
||||
$I->wantTo("Test API call v1/organisation/geschaeftsjahr/Geschaeftsjahr");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/organisation/Geschaeftsjahr2/Geschaeftsjahr2", array("geschaeftsjahr_kurzbz" => "0"));
|
||||
$I->sendGET("v1/organisation/geschaeftsjahr/Geschaeftsjahr", array("geschaeftsjahr_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/person/Kontakt/Kontakt");
|
||||
$I->wantTo("Test API call v1/person/kontakt/Kontakt");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/person/Kontakt/Kontakt", array());
|
||||
$I->sendGET("v1/person/kontakt/Kontakt", array("kontakt_id" => 0));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/accounting/Konto/Konto");
|
||||
$I->wantTo("Test API call v1/accounting/konto/Konto");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/accounting/Konto/Konto", array("konto_id" => "0"));
|
||||
$I->sendGET("v1/accounting/konto/Konto", array("konto_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/LeNotenschluessel/LeNotenschluessel");
|
||||
$I->wantTo("Test API call v1/education/lenotenschluessel/LeNotenschluessel");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/LeNotenschluessel/LeNotenschluessel", array("note" => "0", "lehreinheit_id" => "0"));
|
||||
$I->sendGET("v1/education/lenotenschluessel/LeNotenschluessel", array("note" => "0", "lehreinheit_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/LePruefung/LePruefung");
|
||||
$I->wantTo("Test API call v1/education/lepruefung/LePruefung");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/LePruefung/LePruefung", array("lepruefung_id" => "0"));
|
||||
$I->sendGET("v1/education/lepruefung/LePruefung", array("lepruefung_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Legesamtnote/Legesamtnote");
|
||||
$I->wantTo("Test API call v1/education/legesamtnote/Legesamtnote");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Legesamtnote/Legesamtnote", array("lehreinheit_id" => "0", "student_uid" => "0"));
|
||||
$I->sendGET("v1/education/legesamtnote/Legesamtnote", array("lehreinheit_id" => "0", "student_uid" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehreinheit/Lehreinheit");
|
||||
$I->wantTo("Test API call v1/education/lehreinheit/Lehreinheit");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehreinheit/Lehreinheit", array("lehreinheit_id" => "0"));
|
||||
$I->sendGET("v1/education/lehreinheit/Lehreinheit", array("lehreinheit_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehreinheitgruppe/Lehreinheitgruppe");
|
||||
$I->wantTo("Test API call v1/education/lehreinheitgruppe/Lehreinheitgruppe");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehreinheitgruppe/Lehreinheitgruppe", array("lehreinheitgruppe_id" => "0"));
|
||||
$I->sendGET("v1/education/lehreinheitgruppe/Lehreinheitgruppe", array("lehreinheitgruppe_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehreinheitmitarbeiter/Lehreinheitmitarbeiter");
|
||||
$I->wantTo("Test API call v1/education/lehreinheitmitarbeiter/Lehreinheitmitarbeiter");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehrfach/Lehrfach");
|
||||
$I->wantTo("Test API call v1/education/lehrfach/Lehrfach");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehrfach/Lehrfach", array("lehrfach_id" => "0"));
|
||||
$I->sendGET("v1/education/lehrfach/Lehrfach", array("lehrfach_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehrfunktion/Lehrfunktion");
|
||||
$I->wantTo("Test API call v1/education/lehrfunktion/Lehrfunktion");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehrfunktion/Lehrfunktion", array("lehrfunktion_kurzbz" => "0"));
|
||||
$I->sendGET("v1/education/lehrfunktion/Lehrfunktion", array("lehrfunktion_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehrtyp/Lehrtyp");
|
||||
$I->wantTo("Test API call v1/education/lehrtyp/Lehrtyp");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehrtyp/Lehrtyp", array("lehrtyp_kurzbz" => "0"));
|
||||
$I->sendGET("v1/education/lehrtyp/Lehrtyp", array("lehrtyp_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lehrveranstaltung/Lehrveranstaltung");
|
||||
$I->wantTo("Test API call v1/education/lehrveranstaltung/Lehrveranstaltung");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lehrveranstaltung/Lehrveranstaltung", array("lehrveranstaltung_id" => "0"));
|
||||
$I->sendGET("v1/education/lehrveranstaltung/Lehrveranstaltung", array("lehrveranstaltung_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Lvangebot/Lvangebot");
|
||||
$I->wantTo("Test API call v1/education/lvangebot/Lvangebot");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Lvangebot/Lvangebot", array("lvangebot_id" => "0"));
|
||||
$I->sendGET("v1/education/lvangebot/Lvangebot", array("lvangebot_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/Message/Message");
|
||||
$I->wantTo("Test API call v1/system/message/MessagesByPersonID");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/Message/Message", array("person_id" => "0", "all" => "0", "uid" => "0", "all" => "0", "token" => "0"));
|
||||
$I->sendGET("v1/system/message/MessagesByPersonID", array("person_id" => "1"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/organisation/Fachbereich2/Fachbereich2");
|
||||
$I->wantTo("Test API call v1/organisation/organisationseinheit/Organisationseinheit");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/organisation/Fachbereich2/Fachbereich2", array("fachbereich_kurzbz" => "0"));
|
||||
$I->sendGET("v1/organisation/organisationseinheit/Organisationseinheit", array("oe_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/Phrase/Phrase");
|
||||
$I->wantTo("Test API call v1/system/phrase/Phrase");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/Phrase/Phrase", array("phrase_id" => "0", "app" => "0", "sprache" => "0", "phrase" => "0", "orgeinheit_kurzbz" => "0", "orgform_kurzbz" => "0"));
|
||||
$I->sendGET("v1/system/phrase/Phrase", array("phrase_id" => "1"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/education/Pruefungsstatus/Pruefungsstatus");
|
||||
$I->wantTo("Test API call v1/education/pruefungsstatus/Pruefungsstatus");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/education/Pruefungsstatus/Pruefungsstatus", array("status_kurzbz" => "0"));
|
||||
$I->sendGET("v1/education/pruefungsstatus/Pruefungsstatus", array("status_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/project/Scrumsprint/Scrumsprint");
|
||||
$I->wantTo("Test API call v1/project/scrumsprint/Scrumsprint");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/project/Scrumsprint/Scrumsprint", array("scrumsprint_id" => "0"));
|
||||
$I->sendGET("v1/project/scrumsprint/Scrumsprint", array("scrumsprint_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/project/Scrumteam/Scrumteam");
|
||||
$I->wantTo("Test API call v1/project/scrumteam/Scrumteam");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/project/Scrumteam/Scrumteam", array("scrumteam_kurzbz" => "0"));
|
||||
$I->sendGET("v1/project/scrumteam/Scrumteam", array("scrumteam_kurzbz" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/Sprache2/Sprache2");
|
||||
$I->wantTo("Test API call v1/system/sprache/Sprache");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/Sprache2/Sprache2", array("sprache" => "0"));
|
||||
$I->sendGET("v1/system/sprache/Sprache", array("sprache" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/organisation/Studiengang2/Studiengang2");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/organisation/Studiengang2/Studiengang2", array("studiengang_kz" => "0", "studiensemester_kurzbz" => "0", "ausbildungssemester" => "0", "aktiv" => "0", "onlinebewerbung" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo("Test API call v1/system/Thread/Thread");
|
||||
$I->wantTo("Test API call v1/system/thread/Thread");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org");
|
||||
|
||||
$I->sendGET("v1/system/Thread/Thread", array("thread_id" => "0"));
|
||||
$I->sendGET("v1/system/thread/Thread", array("thread_id" => "0"));
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson(["error" => 0]);
|
||||
Reference in New Issue
Block a user