mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/10992] test_empty_file() now tries to upload the correct file
PHPBB3-10992
This commit is contained in:
parent
91050356d3
commit
e9a1189bfc
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
|
||||||
|
|
||||||
public function test_empty_file()
|
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());
|
$this->assertEquals($this->lang('ATTACHED_IMAGE_NOT_IMAGE'), $crawler->filter('div#message p')->text());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue