mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-04 08:18:41 +00:00
fix tests and replace file_exists
This commit is contained in:
parent
28c751003d
commit
e25201b2fc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user