mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-19 05:49:44 +02:00
[ticket/10992] test_empty_file() now tries to upload the correct file
PHPBB3-10992
This commit is contained in:
parent
91050356d3
commit
e9a1189bfc
@ -44,7 +44,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
|
||||
|
||||
public function test_empty_file()
|
||||
{
|
||||
$crawler = $this->upload_file('empty.jpg', 'image/jpeg');
|
||||
$crawler = $this->upload_file('empty.png', 'image/png');
|
||||
$this->assertEquals($this->lang('ATTACHED_IMAGE_NOT_IMAGE'), $crawler->filter('div#message p')->text());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user