diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 17:09:06 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 17:09:06 +0200 |
commit | 5b21903e66731d85e12632fe38651301a34a8240 (patch) | |
tree | 68014a19af426738e237686a785e26b29c8f7618 /tests/avatar/manager_test.php | |
parent | 05513b96a4ab045b92376cd24cf96b27bf6b55c8 (diff) | |
download | forums-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.php | 3 |
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); |