Show error message
This commit is contained in:
parent
98f92b1bbc
commit
604b01e803
1 changed files with 3 additions and 1 deletions
|
|
@ -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'))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue