mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[task/functional] Make sure missing language values are handled properly
PHPBB3-10758
This commit is contained in:
@@ -229,7 +229,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
|
||||
if (empty($this->lang[$key]))
|
||||
{
|
||||
throw new Exception('Language key "' . $key . '" could not be found.');
|
||||
throw new RuntimeException('Language key "' . $key . '" could not be found.');
|
||||
}
|
||||
|
||||
$args[0] = $this->lang[$key];
|
||||
|
Reference in New Issue
Block a user