diff options
Diffstat (limited to 'tests/functions_user/group_user_attributes_test.php')
| -rw-r--r-- | tests/functions_user/group_user_attributes_test.php | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functions_user/group_user_attributes_test.php b/tests/functions_user/group_user_attributes_test.php index 4336fd894e..f8d52a9a6a 100644 --- a/tests/functions_user/group_user_attributes_test.php +++ b/tests/functions_user/group_user_attributes_test.php @@ -131,17 +131,17 @@ class phpbb_functions_user_group_user_attributes_test extends phpbb_database_tes  		$cache = new phpbb_mock_cache;  		$db = $this->new_dbal();  		$phpbb_dispatcher = new phpbb_mock_event_dispatcher(); -		$auth = $this->getMock('phpbb_auth'); +		$auth = $this->getMock('\phpbb\auth\auth');  		$auth->expects($this->any())  			->method('acl_clear_prefetch'); -		$cache_driver = new phpbb_cache_driver_null(); +		$cache_driver = new \phpbb\cache\driver\null();  		$phpbb_container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');  		$phpbb_container  			->expects($this->any())  			->method('get')  			->with('cache.driver')  			->will($this->returnValue($cache_driver)); -		$phpbb_log = new phpbb_log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE); +		$phpbb_log = new \phpbb\log\log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE);  		group_user_attributes('default', $group_id, array($user_id), false, 'group_name', $group_row);  | 
