From 9846d806f3bc719138f237b64c8ca7db961838e8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 1 Feb 2011 14:54:29 +0100 Subject: [PATCH] [ticket/9823] Move mock file into the mock/ folder. PHPBB3-9823 --- tests/functions_acp/build_cfg_template_test.php | 4 ++-- tests/functions_acp/build_select_test.php | 4 ++-- tests/functions_acp/h_radio_test.php | 4 ++-- tests/functions_acp/validate_config_vars_test.php | 4 ++-- tests/functions_acp/validate_range_test.php | 4 ++-- tests/{functions_acp/user_mock.php => mock/lang.php} | 0 6 files changed, 10 insertions(+), 10 deletions(-) rename tests/{functions_acp/user_mock.php => mock/lang.php} (100%) 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