diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 42ae78a..b1fb9b4 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -28,6 +28,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/Interfaces/GSD/Importer.php b/Interfaces/GSD/Importer.php index cc16c25..429c274 100755 --- a/Interfaces/GSD/Importer.php +++ b/Interfaces/GSD/Importer.php @@ -122,7 +122,7 @@ final class Importer extends ImporterAbstract * * @since 1.0.0 */ - public function importFromRequest(RequestAbstract $request) : bool + public function importFromRequest(RequestAbstract $request) : array { $start = new \DateTime($request->getData('start') ?? 'now'); $end = new \DateTime($request->getData('end') ?? 'now'); @@ -173,7 +173,7 @@ final class Importer extends ImporterAbstract $this->importInvoice($start, $end); } - return true; + return []; } /** diff --git a/Interfaces/Intrexx/Importer.php b/Interfaces/Intrexx/Importer.php index bde302d..3c1cbc6 100755 --- a/Interfaces/Intrexx/Importer.php +++ b/Interfaces/Intrexx/Importer.php @@ -36,8 +36,8 @@ final class Importer extends ImporterAbstract * * @since 1.0.0 */ - public function importFromRequest(RequestAbstract $request) : bool + public function importFromRequest(RequestAbstract $request) : array { - return true; + return []; } } 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*