mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
[ticket/11148] Change expected output with disallowed content in test
PHPBB3-11148
This commit is contained in:
parent
4eb7485b39
commit
3823fe355f
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue