From 1d3fd8c2d79daf36909fa8a3f55d770facb1fd12 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2023 15:14:06 +0000 Subject: [PATCH] fix tests --- Admin/Install/Navigation.install.json | 33 ++++++++++++ Admin/Install/Navigation.php | 43 +++++++++++++++ Admin/Installer.php | 36 +++++++++++++ Admin/Routes/Web/Backend.php | 3 ++ Admin/Status.php | 36 +++++++++++++ Admin/Uninstaller.php | 36 +++++++++++++ Admin/Updater.php | 36 +++++++++++++ Controller/BackendController.php | 27 ++++++++++ Controller/Controller.php | 77 +++++++++++++++++++++++++++ info.json | 47 ++++++++++++++++ tests/Admin/AdminTest.php | 2 +- 11 files changed, 375 insertions(+), 1 deletion(-) create mode 100644 Admin/Install/Navigation.install.json create mode 100644 Admin/Install/Navigation.php create mode 100644 Admin/Installer.php create mode 100644 Admin/Routes/Web/Backend.php create mode 100644 Admin/Status.php create mode 100644 Admin/Uninstaller.php create mode 100644 Admin/Updater.php create mode 100644 Controller/BackendController.php create mode 100644 Controller/Controller.php create mode 100644 info.json diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json new file mode 100644 index 0000000..6119674 --- /dev/null +++ b/Admin/Install/Navigation.install.json @@ -0,0 +1,33 @@ +[ + { + "id": 1008601001, + "pid": "/", + "type": 2, + "subtype": 1, + "name": "QualityControl", + "uri": "{/base}/qualitymanagement/qualitycontrol/list", + "target": "self", + "icon": null, + "order": 65, + "from": "QualityControl", + "permission": { "permission": 2, "category": null, "element": null }, + "parent": 1008501001, + "children": [ + { + "id": 1008602001, + "pid": "/qualitymanagement/qualitycontrol", + "type": 3, + "subtype": 1, + "name": "List", + "uri": "{/base}/qualitymanagement/qualitycontrol/list", + "target": "self", + "icon": null, + "order": 1, + "from": "QualityControl", + "permission": { "permission": 2, "category": null, "element": null }, + "parent": 1008601001, + "children": [] + } + ] + } +] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php new file mode 100644 index 0000000..ea3a3ad --- /dev/null +++ b/Admin/Install/Navigation.php @@ -0,0 +1,43 @@ + __DIR__ . '/Navigation.install.json']); + } +} diff --git a/Admin/Installer.php b/Admin/Installer.php new file mode 100644 index 0000000..ccf581e --- /dev/null +++ b/Admin/Installer.php @@ -0,0 +1,36 @@ +