From 9846d806f3bc719138f237b64c8ca7db961838e8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 1 Feb 2011 14:54:29 +0100 Subject: [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/user_mock.php | 33 ----------------------- tests/functions_acp/validate_config_vars_test.php | 4 +-- tests/functions_acp/validate_range_test.php | 4 +-- tests/mock/lang.php | 33 +++++++++++++++++++++++ 7 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 tests/functions_acp/user_mock.php create mode 100644 tests/mock/lang.php 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/user_mock.php b/tests/functions_acp/user_mock.php deleted file mode 100644 index 17a39629c1..0000000000 --- a/tests/functions_acp/user_mock.php +++ /dev/null @@ -1,33 +0,0 @@ -