From 8fd41fcec65d27c86c74bb971e043b48af84d442 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..e3f8d7b --- /dev/null +++ b/Admin/Install/Navigation.install.json @@ -0,0 +1,33 @@ +[ + { + "id": 1008701001, + "pid": "/", + "type": 2, + "subtype": 1, + "name": "QualityAssurance", + "uri": "{/base}/qualitymanagement/qualityassurance/list", + "target": "self", + "icon": null, + "order": 65, + "from": "QualityAssurance", + "permission": { "permission": 2, "category": null, "element": null }, + "parent": 1008501001, + "children": [ + { + "id": 1008702001, + "pid": "/qualitymanagement/qualityassurance", + "type": 3, + "subtype": 1, + "name": "List", + "uri": "{/base}/qualitymanagement/qualityassurance/list", + "target": "self", + "icon": null, + "order": 1, + "from": "QualityAssurance", + "permission": { "permission": 2, "category": null, "element": null }, + "parent": 1008701001, + "children": [] + } + ] + } +] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php new file mode 100644 index 0000000..31b5646 --- /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..3070900 --- /dev/null +++ b/Admin/Installer.php @@ -0,0 +1,36 @@ +