diff --git a/tests/functions_acp/build_cfg_template_test.php b/tests/functions_acp/build_cfg_template_test.php index c573c7cdb0..7bf85a3532 100644 --- a/tests/functions_acp/build_cfg_template_test.php +++ b/tests/functions_acp/build_cfg_template_test.php @@ -7,8 +7,8 @@ * */ -require_once dirname(__FILE__) . 'user_mock.php'; -require_once dirname(__FILE__) . '../../phpBB/includes/functions_acp.php'; +require_once dirname(__FILE__) . '/../mock/lang.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions_acp.php'; class phpbb_functions_acp_build_cfg_template_test extends phpbb_test_case { diff --git a/tests/functions_acp/build_select_test.php b/tests/functions_acp/build_select_test.php index a4f5e419ea..7079e69f12 100644 --- a/tests/functions_acp/build_select_test.php +++ b/tests/functions_acp/build_select_test.php @@ -7,8 +7,8 @@ * */ -require_once dirname(__FILE__) . 'user_mock.php'; -require_once dirname(__FILE__) . '../../phpBB/includes/functions_acp.php'; +require_once dirname(__FILE__) . '/../mock/lang.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions_acp.php'; class phpbb_functions_acp_built_select_test extends phpbb_test_case { diff --git a/tests/functions_acp/h_radio_test.php b/tests/functions_acp/h_radio_test.php index 924b502ede..18cb5d031e 100644 --- a/tests/functions_acp/h_radio_test.php +++ b/tests/functions_acp/h_radio_test.php @@ -7,8 +7,8 @@ * */ -require_once dirname(__FILE__) . 'user_mock.php'; -require_once dirname(__FILE__) . '../../phpBB/includes/functions_acp.php'; +require_once dirname(__FILE__) . '/../mock/lang.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions_acp.php'; class phpbb_functions_acp_h_radio_test extends phpbb_test_case { diff --git a/tests/functions_acp/validate_config_vars_test.php b/tests/functions_acp/validate_config_vars_test.php index 722d0ebddb..aa63bc38df 100644 --- a/tests/functions_acp/validate_config_vars_test.php +++ b/tests/functions_acp/validate_config_vars_test.php @@ -7,8 +7,8 @@ * */ -require_once dirname(__FILE__) . 'user_mock.php'; -require_once dirname(__FILE__) . '../../phpBB/includes/functions_acp.php'; +require_once dirname(__FILE__) . '/../mock/lang.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions_acp.php'; class phpbb_functions_acp_validate_config_vars_test extends phpbb_test_case { diff --git a/tests/functions_acp/validate_range_test.php b/tests/functions_acp/validate_range_test.php index fb1d15c032..07c9538c66 100644 --- a/tests/functions_acp/validate_range_test.php +++ b/tests/functions_acp/validate_range_test.php @@ -7,8 +7,8 @@ * */ -require_once dirname(__FILE__) . 'user_mock.php'; -require_once dirname(__FILE__) . '../../phpBB/includes/functions_acp.php'; +require_once dirname(__FILE__) . '/../mock/lang.php'; +require_once dirname(__FILE__) . '/../../phpBB/includes/functions_acp.php'; class phpbb_functions_acp_validate_range_test extends phpbb_test_case { diff --git a/tests/functions_acp/user_mock.php b/tests/mock/lang.php similarity index 100% rename from tests/functions_acp/user_mock.php rename to tests/mock/lang.php