mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11915] Fix the Plupload test.
PHPBB3-11915
This commit is contained in:
@@ -107,7 +107,7 @@ class phpbb_functional_plupload_test extends phpbb_functional_test_case
|
||||
else
|
||||
{
|
||||
$response = json_decode(self::$client->getResponse()->getContent(), true);
|
||||
$this->assertEquals('valid.jpg', $response[0]['real_filename']);
|
||||
$this->assertEquals('valid.jpg', $response['data'][0]['real_filename']);
|
||||
}
|
||||
|
||||
unlink($this->path . 'chunk');
|
||||
@@ -144,6 +144,6 @@ class phpbb_functional_plupload_test extends phpbb_functional_test_case
|
||||
);
|
||||
|
||||
$response = json_decode(self::$client->getResponse()->getContent(), true);
|
||||
$this->assertEquals('valid.jpg', $response[0]['real_filename']);
|
||||
$this->assertEquals('valid.jpg', $response['data'][0]['real_filename']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user