aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_user/group_user_attributes_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-12-04 16:01:32 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-12-04 16:01:32 +0100
commitfa33abaf0d6cf5c12e5dadeff2c2d59561e19b22 (patch)
treef2da080644d5711c4a799169643c926f871a0602 /tests/functions_user/group_user_attributes_test.php
parent8087a76c36a15b915b7f8b0d68b18768aada3589 (diff)
parent3a03b01ce0b860490851c620a6c4dac2630481d4 (diff)
downloadforums-fa33abaf0d6cf5c12e5dadeff2c2d59561e19b22.tar
forums-fa33abaf0d6cf5c12e5dadeff2c2d59561e19b22.tar.gz
forums-fa33abaf0d6cf5c12e5dadeff2c2d59561e19b22.tar.bz2
forums-fa33abaf0d6cf5c12e5dadeff2c2d59561e19b22.tar.xz
forums-fa33abaf0d6cf5c12e5dadeff2c2d59561e19b22.zip
Merge remote-tracking branch 'bantu/ticket/12056-develop' into develop
* bantu/ticket/12056-develop: [ticket/12056] group_user_attributes: Fix "Creating ... from empty value". [ticket/12056] Fix "Call to undefined function ...\utf8_normalize_nfc()" [ticket/12056] Fix "Call to undefined function ...\utf8_clean_string()" [ticket/12056] Fix "Call to a member function trigger_event() on a non-object". [ticket/12056] Fix "Call to undefined function phpbb\phpbb_get_plural_form()". [ticket/12056] Fix "undefined function phpbb_pcre_utf8_support()". [ticket/12056] validate_config_vars: Fix ".. undefined function utf8_strlen()" [ticket/12056] validate_config_vars: Fix "Creating ... from empty value". [ticket/12056] validate_range: Fix "Creating default object from empty value" [ticket/12056] build_select: Fix "Creating default object from empty value" [ticket/12056] h_radio test: Fix "Creating default object from empty value"
Diffstat (limited to 'tests/functions_user/group_user_attributes_test.php')
-rw-r--r--tests/functions_user/group_user_attributes_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functions_user/group_user_attributes_test.php b/tests/functions_user/group_user_attributes_test.php
index f8d52a9a6a..4317cf79da 100644
--- a/tests/functions_user/group_user_attributes_test.php
+++ b/tests/functions_user/group_user_attributes_test.php
@@ -127,6 +127,7 @@ class phpbb_functions_user_group_user_attributes_test extends phpbb_database_tes
{
global $auth, $cache, $db, $phpbb_dispatcher, $user, $phpbb_container, $phpbb_log, $phpbb_root_path, $phpEx;
+ $user = new phpbb_mock_user;
$user->ip = '';
$cache = new phpbb_mock_cache;
$db = $this->new_dbal();