2
0
forked from Wavyzz/dolibarr

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

@@ -48,34 +48,6 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
*/
class ActionCommTest extends CommonClassTest
{
protected $savconf;
protected $savuser;
protected $savlangs;
protected $savdb;
/**
* Constructor
* We save global variables into local variables
*
* @param string $name Name
* @return ActionCommTest
*/
public function __construct($name = '')
{
parent::__construct($name);
//$this->sharedFixture
global $conf,$user,$langs,$db;
$this->savconf=$conf;
$this->savuser=$user;
$this->savlangs=$langs;
$this->savdb=$db;
print __METHOD__." db->type=".$db->type." user->id=".$user->id;
//print " - db ".$db->db;
print "\n";
}
/**
* setUpBeforeClass
*
@@ -94,6 +66,7 @@ class ActionCommTest extends CommonClassTest
print __METHOD__."\n";
}
/**
* testActionCommCreate
*