diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-12-04 14:22:33 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-12-04 14:22:33 +0100 |
commit | 3a03b01ce0b860490851c620a6c4dac2630481d4 (patch) | |
tree | 67a96e454aa7de02c8ab7f2746ff0dc0d99fbcf6 /tests/functions_user/group_user_attributes_test.php | |
parent | ffc24a507da5bbc0988a740bd00617bf7d413a3e (diff) | |
download | forums-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.php | 1 |
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(); |