aboutsummaryrefslogtreecommitdiffstats
path: root/tests/avatar/manager_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-07-16 17:09:06 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-07-16 17:09:06 +0200
commit5b21903e66731d85e12632fe38651301a34a8240 (patch)
tree68014a19af426738e237686a785e26b29c8f7618 /tests/avatar/manager_test.php
parent05513b96a4ab045b92376cd24cf96b27bf6b55c8 (diff)
downloadforums-5b21903e66731d85e12632fe38651301a34a8240.tar
forums-5b21903e66731d85e12632fe38651301a34a8240.tar.gz
forums-5b21903e66731d85e12632fe38651301a34a8240.tar.bz2
forums-5b21903e66731d85e12632fe38651301a34a8240.tar.xz
forums-5b21903e66731d85e12632fe38651301a34a8240.zip
[ticket/security/210] Fix tests for 3.2.x
SECURITY-210
Diffstat (limited to 'tests/avatar/manager_test.php')
-rw-r--r--tests/avatar/manager_test.php3
1 files changed, 1 insertions, 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);