mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/security/210] Fix tests for 3.2.x
SECURITY-210
This commit is contained in:
parent
05513b96a4
commit
5b21903e66
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue