mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-21 00:03:16 +01:00
Show error message
This commit is contained in:
@@ -152,9 +152,11 @@ class ModulesTest extends PHPUnit\Framework\TestCase
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/modules/mod'.$modlabel.'.class.php';
|
||||
$class='mod'.$modlabel;
|
||||
$mod=new $class($db);
|
||||
|
||||
$result=$mod->remove();
|
||||
$result=$mod->init();
|
||||
$this->assertLessThan($result, 0, $modlabel);
|
||||
|
||||
$this->assertLessThan($result, 0, $modlabel." ".$mod->error);
|
||||
print __METHOD__." test remove/init for module ".$modlabel.", result=".$result."\n";
|
||||
|
||||
if (in_array($modlabel, array('Ldap', 'MailmanSpip'))) {
|
||||
|
||||
Reference in New Issue
Block a user