[ticket/12620] Fix functional tests

PHPBB3-12620
This commit is contained in:
Tristan Darricau 2014-05-30 16:18:11 +02:00
parent 733ae584dd
commit c4842fe119
2 changed files with 2 additions and 0 deletions

View file

@ -472,6 +472,7 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_cont
if ($debug_test) if ($debug_test)
{ {
$config_data .= "@define('DEBUG_TEST', true);\n"; $config_data .= "@define('DEBUG_TEST', true);\n";
$config_data .= "@define('DEBUG', true);\n"; // Mandatory for the functional tests, will be removed by PHPBB3-12623
} }
return $config_data; return $config_data;

View file

@ -16,6 +16,7 @@
*/ */
define('IN_PHPBB', true); define('IN_PHPBB', true);
define('IN_INSTALL', true); define('IN_INSTALL', true);
define('ENVIRONMENT', 'productive');
/**#@-*/ /**#@-*/
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';