diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-06-01 15:50:28 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-06-23 21:39:24 +0200 |
commit | 3823fe355fbd5793247bc291e814ec46dc7334ec (patch) | |
tree | d8e9692b71f24967e2d716d8d3ea07fa93f769fa | |
parent | 4eb7485b397733c8765f8bd37a04b7a034b29792 (diff) | |
download | forums-3823fe355fbd5793247bc291e814ec46dc7334ec.tar forums-3823fe355fbd5793247bc291e814ec46dc7334ec.tar.gz forums-3823fe355fbd5793247bc291e814ec46dc7334ec.tar.bz2 forums-3823fe355fbd5793247bc291e814ec46dc7334ec.tar.xz forums-3823fe355fbd5793247bc291e814ec46dc7334ec.zip |
[ticket/11148] Change expected output with disallowed content in test
PHPBB3-11148
-rw-r--r-- | tests/functional/fileupload_form_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/fileupload_form_test.php b/tests/functional/fileupload_form_test.php index b9d55fbd3c..29036c821e 100644 --- a/tests/functional/fileupload_form_test.php +++ b/tests/functional/fileupload_form_test.php @@ -109,9 +109,9 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case $crawler = $this->upload_file('disallowed.jpg', 'image/jpeg'); - // Hitting the UNABLE_GET_IMAGE_SIZE error means we passed the + // Hitting the ATTACHED_IMAGE_NOT_IMAGE error means we passed the // DISALLOWED_CONTENT check - $this->assertEquals($this->lang('UNABLE_GET_IMAGE_SIZE'), $crawler->filter('p.error')->text()); + $this->assertContains($this->lang('ATTACHED_IMAGE_NOT_IMAGE'), $crawler->text()); } public function test_too_large() |