From e25201b2fc5dca462d281807309673e824b6170c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 8 Oct 2020 15:12:24 +0200 Subject: [PATCH] fix tests and replace file_exists --- tests/Controller/ApiControllerTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 86f8a69..65eaf91 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -37,6 +37,9 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase { protected ApplicationAbstract $app; + /** + * @var \Modules\Auditor\Controller\ApiController + */ protected ModuleAbstract $module; protected function setUp() : void @@ -137,6 +140,10 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase self::assertTrue($found); } + /** + * @covers Modules\Auditor\Controller\ApiController + * @group module + */ public function testLogUpdateWithoutChange() : void { $logs = AuditMapper::getAll();