1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 17:27:16 +02:00

[ticket/11467] Add language variables to tests

Convert the hardcoded strings to language variables.

PHPBB3-11467
This commit is contained in:
n-aleha
2014-05-12 02:17:37 +03:00
parent 031273de72
commit 56959a2f83
3 changed files with 13 additions and 13 deletions

View File

@@ -82,6 +82,6 @@ class phpbb_functional_metadata_manager_test extends phpbb_functional_test_case
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=details&ext_name=not%2Fexists&sid=' . $this->sid);
// Error message because the files do not exist
$this->assertContains('The required file does not exist:', $crawler->filter('#main')->text());
$this->assertContains($this->lang('FILE_NOT_FOUND', ''), $crawler->filter('#main')->text());
}
}