From 5b21903e66731d85e12632fe38651301a34a8240 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 16 Jul 2017 17:09:06 +0200 Subject: [PATCH] [ticket/security/210] Fix tests for 3.2.x SECURITY-210 --- tests/avatar/manager_test.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/avatar/manager_test.php b/tests/avatar/manager_test.php index 3c872a7683..9e826a3a59 100644 --- a/tests/avatar/manager_test.php +++ b/tests/avatar/manager_test.php @@ -424,11 +424,10 @@ class phpbb_avatar_manager_test extends \phpbb_database_test_case 'avatar_remote_height' => $height, )); - $user = new \phpbb\user('\phpbb\datetime'); $row = array(); $error = array(); - $return = $remote_avatar->process_form($request, null, $user, $row, $error); + $return = $remote_avatar->process_form($request, null, $this->user, $row, $error); if (count($expected_error) > 0) { $this->assertFalse($return);