mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Clean phpunit tests
This commit is contained in:
@@ -56,7 +56,6 @@ class CommonClassTest extends PHPUnit\Framework\TestCase
|
||||
* We save global variables into local variables
|
||||
*
|
||||
* @param string $name Name
|
||||
* @return ActionCommTest
|
||||
*/
|
||||
public function __construct($name = '')
|
||||
{
|
||||
@@ -84,11 +83,6 @@ class CommonClassTest extends PHPUnit\Framework\TestCase
|
||||
global $conf,$user,$langs,$db;
|
||||
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.
|
||||
|
||||
if (!isModEnabled('agenda')) {
|
||||
print __METHOD__." module agenda must be enabled.\n";
|
||||
die(1);
|
||||
}
|
||||
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user