diff --git a/Admin/Install/Media.php b/Admin/Install/Media.php index 9fd338a..73e70a2 100755 --- a/Admin/Install/Media.php +++ b/Admin/Install/Media.php @@ -45,6 +45,6 @@ class Media $defaultTemplate = \reset($media['upload'][0]); $setting = new Setting(); - SettingMapper::create($setting->with(0, 'default_pdf_template', (string) $defaultTemplate->getId(), '\\d+', 'Auditor')); + SettingMapper::create($setting->with(0, 'default_pdf_template', (string) $defaultTemplate->getId(), '\\d+', 1, 'Auditor')); } } diff --git a/Controller/BackendController.php b/Controller/BackendController.php index a186dee..623323f 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -27,6 +27,7 @@ use phpOMS\Views\View; * @license OMS License 1.0 * @link https://orange-management.org * @since 1.0.0 + * @codeCoverageIgnore */ final class BackendController extends Controller { diff --git a/tests/phpunit_default.xml b/tests/phpunit_default.xml index 0419dd8..722365c 100755 --- a/tests/phpunit_default.xml +++ b/tests/phpunit_default.xml @@ -20,6 +20,7 @@ ../**/test* ../**/Theme* ../**/Admin/Routes* + ../**/Admin/Hooks* ../**/Admin/Install* ../Media/Files*