[ticket/12056] group_user_attributes: Fix "Creating ... from empty value".

PHPBB3-12056
This commit is contained in:
Andreas Fischer 2013-12-04 14:22:33 +01:00
parent ffc24a507d
commit 3a03b01ce0

View file

@ -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();