diff options
author | OpenShift guest <dachebodt@gmail.com> | 2013-05-11 02:38:40 -0400 |
---|---|---|
committer | OpenShift guest <dachebodt@gmail.com> | 2013-05-11 02:43:02 -0400 |
commit | 48e1be58db26ba09f7421082038f1f6353a38e91 (patch) | |
tree | 3a58f95cc78197a61d5f339075c7b6a1c74e0e64 /tests/functional/extension_permission_lang_test.php | |
parent | a50d23078e8964396bda1e2c9cfc6e503f4f6fb9 (diff) | |
download | forums-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.php | 5 |
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()); } } |