aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-04-24 14:10:50 -0400
committerDavid King <imkingdavid@gmail.com>2012-04-24 14:10:50 -0400
commitb82c77b38f69aa2d8030ee848042a0169592878b (patch)
tree2e93666b1112b877ce0b04cf2d1770c07de52e72 /tests/test_framework
parent8cf0b79a4746b416e66264cc3313f46d995b1783 (diff)
downloadforums-b82c77b38f69aa2d8030ee848042a0169592878b.tar
forums-b82c77b38f69aa2d8030ee848042a0169592878b.tar.gz
forums-b82c77b38f69aa2d8030ee848042a0169592878b.tar.bz2
forums-b82c77b38f69aa2d8030ee848042a0169592878b.tar.xz
forums-b82c77b38f69aa2d8030ee848042a0169592878b.zip
[task/functional] Make sure missing language values are handled properly
PHPBB3-10758
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index f14e214a78..177f93cf3b 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -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];