aboutsummaryrefslogtreecommitdiffstats
path: root/tests/profilefields/type_dropdown_test.php
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-09 15:15:42 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-17 14:59:26 +0530
commite8a6fee7434d6dab6a5f84c04b934ab41f797efd (patch)
tree0510c0ad3c2ec3d161b227acf84a3f9b5fdfa5a8 /tests/profilefields/type_dropdown_test.php
parent86754cf572909b61fb2cd3e29cef42e2a8079dd7 (diff)
downloadforums-e8a6fee7434d6dab6a5f84c04b934ab41f797efd.tar
forums-e8a6fee7434d6dab6a5f84c04b934ab41f797efd.tar.gz
forums-e8a6fee7434d6dab6a5f84c04b934ab41f797efd.tar.bz2
forums-e8a6fee7434d6dab6a5f84c04b934ab41f797efd.tar.xz
forums-e8a6fee7434d6dab6a5f84c04b934ab41f797efd.zip
[ticket/12514] Move requires to the top of the files
PHPBB3-12514
Diffstat (limited to 'tests/profilefields/type_dropdown_test.php')
-rw-r--r--tests/profilefields/type_dropdown_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/profilefields/type_dropdown_test.php b/tests/profilefields/type_dropdown_test.php
index 0e1fb101b7..d71ee78497 100644
--- a/tests/profilefields/type_dropdown_test.php
+++ b/tests/profilefields/type_dropdown_test.php
@@ -6,6 +6,10 @@
*
*/
+require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
+require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
+require_once dirname(__FILE__) . '/../../phpBB/includes/utf/utf_tools.php';
+
class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
{
protected $cp;
@@ -20,11 +24,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
*/
public function setUp()
{
- global $request, $user, $cache, $db, $table_prefix;
-
- require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
- require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
- require_once dirname(__FILE__) . '/../../phpBB/includes/utf/utf_tools.php';
+ global $request, $user, $cache, $db, $table_prefix;Ω
$user = $this->getMock('\phpbb\user');
$cache = new phpbb_mock_cache;