aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
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/functional
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/functional')
-rw-r--r--tests/functional/lang_test.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/lang_test.php b/tests/functional/lang_test.php
index f77dd511a3..053806a431 100644
--- a/tests/functional/lang_test.php
+++ b/tests/functional/lang_test.php
@@ -18,6 +18,14 @@ class phpbb_functional_lang_test extends phpbb_functional_test_case
$this->assertEquals('Board index', $this->lang('FORUM_INDEX'));
}
+ /**
+ * @expectedException RuntimeException
+ */
+ public function test_lang_missing()
+ {
+ $this->assertEquals('Your account has now been activated. Thank you for registering.', $this->lang('ACCOUNT_ACTIVE'));
+ }
+
public function test_add_lang()
{
$this->add_lang('ucp');