diff --git a/test/phpunit/CommonClassTest.class.php b/test/phpunit/CommonClassTest.class.php index d15cf05061d..27722930f95 100644 --- a/test/phpunit/CommonClassTest.class.php +++ b/test/phpunit/CommonClassTest.class.php @@ -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. diff --git a/test/phpunit/ModulesTest.php b/test/phpunit/ModulesTest.php index f26ea976213..feffae8d343 100644 --- a/test/phpunit/ModulesTest.php +++ b/test/phpunit/ModulesTest.php @@ -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");