Fix phpunit

This commit is contained in:
Laurent Destailleur
2017-05-21 21:04:20 +02:00
parent ff35229be5
commit 3e381aa5a2
2 changed files with 5 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ class UserTest extends PHPUnit_Framework_TestCase
{
global $conf,$user,$langs,$db;
if (! empty($conf->global->MAIN_LDAP_ENABLED)) { print "\n".__METHOD__." module LDAP must be disabled.\n"; die(); }
if (! empty($conf->global->MAIN_MODULE_LDAP)) { print "\n".__METHOD__." module LDAP must be disabled.\n"; die(); }
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.