Clean phpunit tests

This commit is contained in:
Laurent Destailleur
2024-02-17 15:19:06 +01:00
parent a23addd21e
commit 671257e8e3
6 changed files with 3 additions and 207 deletions

View File

@@ -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";
}