fix tests and replace file_exists

This commit is contained in:
Dennis Eichhorn 2020-10-08 15:12:24 +02:00
parent 28c751003d
commit e25201b2fc

View File

@ -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();