Fix warning

This commit is contained in:
Laurent Destailleur
2023-04-15 03:16:53 +02:00
parent f02ff3f774
commit b55271dedb
20 changed files with 43 additions and 41 deletions

View File

@@ -83,7 +83,7 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
global $conf,$user,$langs,$db;
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.
if (empty($conf->agenda->enabled)) {
if (!isModEnabled('agenda')) {
print __METHOD__." module agenda must be enabled.\n"; die(1);
}