aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_user/group_user_attributes_test.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-12-04 14:22:33 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-12-04 14:22:33 +0100
commit3a03b01ce0b860490851c620a6c4dac2630481d4 (patch)
tree67a96e454aa7de02c8ab7f2746ff0dc0d99fbcf6 /tests/functions_user/group_user_attributes_test.php
parentffc24a507da5bbc0988a740bd00617bf7d413a3e (diff)
downloadforums-3a03b01ce0b860490851c620a6c4dac2630481d4.tar
forums-3a03b01ce0b860490851c620a6c4dac2630481d4.tar.gz
forums-3a03b01ce0b860490851c620a6c4dac2630481d4.tar.bz2
forums-3a03b01ce0b860490851c620a6c4dac2630481d4.tar.xz
forums-3a03b01ce0b860490851c620a6c4dac2630481d4.zip
[ticket/12056] group_user_attributes: Fix "Creating ... from empty value".
PHPBB3-12056
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();