aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_acp_test.php
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-05-12 02:17:37 +0300
committern-aleha <nick_aleha@myway.com>2014-05-29 01:07:44 +0300
commit56959a2f831cdbebb541fb7f6e758cd076199ca5 (patch)
tree9cc18258a56ebd6d23c6444f65041bd7eb7bf1a0 /tests/functional/extension_acp_test.php
parent031273de728e2c69e583cc4beef49087228cbc2c (diff)
downloadforums-56959a2f831cdbebb541fb7f6e758cd076199ca5.tar
forums-56959a2f831cdbebb541fb7f6e758cd076199ca5.tar.gz
forums-56959a2f831cdbebb541fb7f6e758cd076199ca5.tar.bz2
forums-56959a2f831cdbebb541fb7f6e758cd076199ca5.tar.xz
forums-56959a2f831cdbebb541fb7f6e758cd076199ca5.zip
[ticket/11467] Add language variables to tests
Convert the hardcoded strings to language variables. PHPBB3-11467
Diffstat (limited to 'tests/functional/extension_acp_test.php')
-rw-r--r--tests/functional/extension_acp_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php
index 8f0f9c6700..b6dd5db708 100644
--- a/tests/functional/extension_acp_test.php
+++ b/tests/functional/extension_acp_test.php
@@ -180,7 +180,7 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
{
// test2 is not available (error)
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=delete_data_pre&ext_name=test2&sid=' . $this->sid);
- $this->assertContains('The required file does not exist', $crawler->filter('.errorbox')->text());
+ $this->assertContains($this->lang('FILE_NOT_FOUND', ''), $crawler->filter('.errorbox')->text());
// foo is not disabled (redirect to list)
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=delete_data_pre&ext_name=vendor2%2Ffoo&sid=' . $this->sid);