forked from Wavyzz/dolibarr
More logs
This commit is contained in:
@@ -187,6 +187,7 @@ abstract class CommonClassTest extends TestCase
|
||||
|
||||
|
||||
if ($nbLinesToShow) {
|
||||
print "## We try to output the last ".$nbLinesToShow." lines of the log file ".basename($this->logfile)." (that has ".$totalLines." lines)".PHP_EOL;
|
||||
$newLines = count($last_lines);
|
||||
if ($newLines > 0) {
|
||||
// Show partial log file contents when requested.
|
||||
|
||||
@@ -97,6 +97,12 @@ class ModulesTest extends CommonClassTest // TestCase //CommonClassTest
|
||||
$this->assertLessThan($result, 0, $modlabel." ".$mod->error);
|
||||
print __METHOD__." test remove/init for module ".$modlabel.", result=".$result."\n";
|
||||
|
||||
if ($modlabel == 'User') {
|
||||
print __METHOD__." test table llx_user exists after Webhook init\n";
|
||||
$infotable = $db->DDLInfoTable("llx_user");
|
||||
print var_export($infotable, true)."\n";
|
||||
$this->assertGreaterThan(0, count($infotable));
|
||||
}
|
||||
if ($modlabel == 'Webhook') {
|
||||
print __METHOD__." test table llx_webhook_target exists after Webhook init\n";
|
||||
$infotable = $db->DDLInfoTable("llx_webhook_target");
|
||||
|
||||
Reference in New Issue
Block a user