2
0
forked from Wavyzz/dolibarr

Mutualise code

This commit is contained in:
Laurent Destailleur
2024-02-16 23:26:32 +01:00
parent a32831bc6f
commit 56b0c29d1f
90 changed files with 349 additions and 168 deletions

View File

@@ -28,6 +28,8 @@ global $conf,$user,$langs,$db;
require_once dirname(__FILE__).'/../../htdocs/master.inc.php';
require_once dirname(__FILE__).'/../../htdocs/societe/class/societe.class.php';
require_once dirname(__FILE__).'/../../htdocs/reception/class/reception.class.php';
require_once dirname(__FILE__).'/CommonClassTest.class.php';
$langs->load("dict");
if (empty($user->id)) {
@@ -44,7 +46,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
* @backupStaticAttributes enabled
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/
class ReceptionTest extends PHPUnit\Framework\TestCase
class ReceptionTest extends CommonClassTest
{
protected $savconf;
protected $savuser;