aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-09 23:45:41 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-09 23:45:41 +0100
commitff57ecf0bc541123c987ff0a84e80e1d01eb31de (patch)
tree5ded777784d0aa850ed6d7c9f2c971e1e067beee /tests
parent344baf91809bbfd5a224191e13472b94f77b421c (diff)
downloadforums-ff57ecf0bc541123c987ff0a84e80e1d01eb31de.tar
forums-ff57ecf0bc541123c987ff0a84e80e1d01eb31de.tar.gz
forums-ff57ecf0bc541123c987ff0a84e80e1d01eb31de.tar.bz2
forums-ff57ecf0bc541123c987ff0a84e80e1d01eb31de.tar.xz
forums-ff57ecf0bc541123c987ff0a84e80e1d01eb31de.zip
[ticket/12175] Fix upload test for empty file
PHPBB3-12175
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/fileupload_form_test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/fileupload_form_test.php b/tests/functional/fileupload_form_test.php
index ad01d7b2df..596aae03a2 100644
--- a/tests/functional/fileupload_form_test.php
+++ b/tests/functional/fileupload_form_test.php
@@ -63,9 +63,8 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
public function test_empty_file()
{
- $this->markTestIncomplete('Test fails intermittently.');
$crawler = $this->upload_file('empty.png', 'image/png');
- $this->assertEquals($this->lang('ATTACHED_IMAGE_NOT_IMAGE'), $this->assert_filter($crawler, 'div#message p')->text());
+ $this->assertEquals($this->lang('EMPTY_FILEUPLOAD'), $crawler->filter('p.error')->text());
}
public function test_invalid_extension()