//define('TEST_DB_FORCE_TYPE','mysql'); // This is to force using mysql driver
//require_once 'PHPUnit/Autoload.php';
if(!defined('NOREQUIRESOC')){
define('NOREQUIRESOC','1');
}
if(!defined('NOCSRFCHECK')){
define('NOCSRFCHECK','1');
}
if(!defined('NOTOKENRENEWAL')){
define('NOTOKENRENEWAL','1');
}
if(!defined('NOREQUIREMENU')){
define('NOREQUIREMENU','1');// If there is no menu to show
}
if(!defined('NOREQUIREHTML')){
define('NOREQUIREHTML','1');// If we don't need to load the html.form.class.php
}
if(!defined('NOREQUIREAJAX')){
define('NOREQUIREAJAX','1');
}
if(!defined("NOLOGIN")){
define("NOLOGIN",'1');// If this page is public (can be called outside logged session)
}
if(!defined("NOSESSION")){
define("NOSESSION",'1');
}
require_oncedirname(__FILE__).'/../../htdocs/main.inc.php';// We force include of main.inc.php instead of master.inc.php even if we are in CLI mode because it contains a lot of security components we want to test.