diff options
author | Fyorl <gaelreth@gmail.com> | 2012-07-09 01:24:29 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-07-09 14:08:20 +0100 |
commit | 8d43a6e851bb6caceed6ab3b8a66ffb106c7317d (patch) | |
tree | 45bb54500ae2c317ff8b4453202e6fa8d304d7f0 | |
parent | e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358 (diff) | |
download | forums-8d43a6e851bb6caceed6ab3b8a66ffb106c7317d.tar forums-8d43a6e851bb6caceed6ab3b8a66ffb106c7317d.tar.gz forums-8d43a6e851bb6caceed6ab3b8a66ffb106c7317d.tar.bz2 forums-8d43a6e851bb6caceed6ab3b8a66ffb106c7317d.tar.xz forums-8d43a6e851bb6caceed6ab3b8a66ffb106c7317d.zip |
[ticket/10941] Replaced use of English with language system
PHPBB3-10941
-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 3e1ba71a71..abccd6f987 100644 --- a/tests/functional/fileupload_form_test.php +++ b/tests/functional/fileupload_form_test.php @@ -28,7 +28,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case $form = $crawler->selectButton('add_file')->form(); $form['fileupload']->upload($this->path . 'empty.png'); $crawler = $this->client->submit($form); - $this->assertEquals('The image file you tried to attach is invalid.', $crawler->filter('div#message p')->text()); + $this->assertEquals($this->lang('ATTACHED_IMAGE_NOT_IMAGE'), $crawler->filter('div#message p')->text()); } public function test_invalid_extension() @@ -37,7 +37,7 @@ class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case $form = $crawler->selectButton('add_file')->form(); $form['fileupload']->upload($this->path . 'illegal-extension.bif'); $crawler = $this->client->submit($form); - $this->assertEquals('The extension bif is not allowed.', $crawler->filter('p.error')->text()); + $this->assertEquals($this->lang('DISALLOWED_EXTENSION', 'bif'), $crawler->filter('p.error')->text()); } public function test_too_large() |