aboutsummaryrefslogtreecommitdiffstats
path: root/tests/avatar
diff options
context:
space:
mode:
Diffstat (limited to 'tests/avatar')
-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);