From 0a72fbce01d8701452fc14e0cde9316ca2643649 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 | 17 ++++++ 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, 359 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..1b0db75 --- /dev/null +++ b/Admin/Install/Navigation.install.json @@ -0,0 +1,17 @@ +[ + { + "id": 1008501001, + "pid": "/", + "type": 2, + "subtype": 0, + "name": "QualityManagement", + "uri": null, + "target": "self", + "icon": "fa fa-exclamation-triangle", + "order": 100, + "from": "QualityManagement", + "permission": { "permission": 2, "type": null, "element": null }, + "parent": 0, + "children": [] + } +] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php new file mode 100644 index 0000000..113079d --- /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..fce55c2 --- /dev/null +++ b/Admin/Installer.php @@ -0,0 +1,36 @@ +