forked from Wavyzz/dolibarr
Mutualise code
This commit is contained in:
@@ -28,6 +28,8 @@ global $conf, $user, $langs, $db;
|
||||
//require_once 'PHPUnit/Autoload.php';
|
||||
require_once dirname(__FILE__).'/../../htdocs/master.inc.php';
|
||||
require_once dirname(__FILE__).'/../../htdocs/knowledgemanagement/class/knowledgerecord.class.php';
|
||||
require_once dirname(__FILE__).'/CommonClassTest.class.php';
|
||||
|
||||
$langs->load("main");
|
||||
|
||||
if (empty($user->id)) {
|
||||
@@ -48,7 +50,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 KnowledgeRecordTest extends PHPUnit\Framework\TestCase
|
||||
class KnowledgeRecordTest extends CommonClassTest
|
||||
{
|
||||
protected $savconf;
|
||||
protected $savuser;
|
||||
|
||||
Reference in New Issue
Block a user