1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-18 21:39:52 +02:00

[ticket/10992] test_empty_file() now tries to upload the correct file

PHPBB3-10992
This commit is contained in:
Fyorl 2012-07-13 20:43:11 +01:00 committed by Andreas Fischer
parent 91050356d3
commit e9a1189bfc

View File

@ -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());
}