From 3a03b01ce0b860490851c620a6c4dac2630481d4 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 4 Dec 2013 14:22:33 +0100 Subject: [ticket/12056] group_user_attributes: Fix "Creating ... from empty value". PHPBB3-12056 --- tests/functions_user/group_user_attributes_test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/functions_user/group_user_attributes_test.php') 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(); -- cgit v1.2.1