diff options
author | Fyorl <gaelreth@gmail.com> | 2012-07-13 20:43:11 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-07-16 18:24:35 +0200 |
commit | e9a1189bfc75609de912bc5cb8c733f3323e58c6 (patch) | |
tree | 7f3c573b711c2a12764a10ffc2ff6d504b29af65 /tests/functional/fileupload_form_test.php | |
parent | 91050356d3b8322098650bf660c07f8a49ddb02d (diff) | |
download | forums-e9a1189bfc75609de912bc5cb8c733f3323e58c6.tar forums-e9a1189bfc75609de912bc5cb8c733f3323e58c6.tar.gz forums-e9a1189bfc75609de912bc5cb8c733f3323e58c6.tar.bz2 forums-e9a1189bfc75609de912bc5cb8c733f3323e58c6.tar.xz forums-e9a1189bfc75609de912bc5cb8c733f3323e58c6.zip |
[ticket/10992] test_empty_file() now tries to upload the correct file
PHPBB3-10992
Diffstat (limited to 'tests/functional/fileupload_form_test.php')
-rw-r--r-- | tests/functional/fileupload_form_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/fileupload_form_test.php b/tests/functional/fileupload_form_test.php index 9c7bed359c..00ff303591 100644 --- a/tests/functional/fileupload_form_test.php +++ b/tests/functional/fileupload_form_test.php @@ -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()); } |