diff --git a/test/phpunit/ModulesTest.php b/test/phpunit/ModulesTest.php index 16e679a09c6..f26ea976213 100644 --- a/test/phpunit/ModulesTest.php +++ b/test/phpunit/ModulesTest.php @@ -97,6 +97,13 @@ 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 == 'Webhook') { + print __METHOD__." test table llx_webhook_target exists after Webhook init\n"; + $infotable = $db->DDLInfoTable("llx_webhook_target"); + print var_export($infotable, true)."\n"; + $this->assertGreaterThan(0, count($infotable)); + } + if (in_array($modlabel, array('Ldap', 'MailmanSpip'))) { $result = $mod->remove(); }