aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_permission_lang_test.php
diff options
context:
space:
mode:
authorOpenShift guest <dachebodt@gmail.com>2013-05-11 02:38:40 -0400
committerOpenShift guest <dachebodt@gmail.com>2013-05-11 02:43:02 -0400
commit48e1be58db26ba09f7421082038f1f6353a38e91 (patch)
tree3a58f95cc78197a61d5f339075c7b6a1c74e0e64 /tests/functional/extension_permission_lang_test.php
parenta50d23078e8964396bda1e2c9cfc6e503f4f6fb9 (diff)
downloadforums-48e1be58db26ba09f7421082038f1f6353a38e91.tar
forums-48e1be58db26ba09f7421082038f1f6353a38e91.tar.gz
forums-48e1be58db26ba09f7421082038f1f6353a38e91.tar.bz2
forums-48e1be58db26ba09f7421082038f1f6353a38e91.tar.xz
forums-48e1be58db26ba09f7421082038f1f6353a38e91.zip
[ticket/11458] Update functional test
Show that the phpbb permission lanuage file is being included PHPBB3-11458
Diffstat (limited to 'tests/functional/extension_permission_lang_test.php')
-rw-r--r--tests/functional/extension_permission_lang_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/extension_permission_lang_test.php b/tests/functional/extension_permission_lang_test.php
index 6f1048279a..26ec4d28a1 100644
--- a/tests/functional/extension_permission_lang_test.php
+++ b/tests/functional/extension_permission_lang_test.php
@@ -108,6 +108,11 @@ class phpbb_functional_extension_permission_lang_test extends phpbb_functional_t
$form->setValues($data);
$crawler = $this->client->submit($form);
$this->assert_response_success();
+
+ // language from language/en/acp/permissions_phpbb.php
+ $this->assertContains('Can attach files', $crawler->filter('body')->text());
+
+ // language from ext/foo/bar/language/en/permissions_foo.php
$this->assertContains('Can view foo', $crawler->filter('body')->text());
}
}