diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-06-12 02:00:24 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-07-01 21:49:00 +0530 |
commit | 1abc3d91d05919f20b31876dbafbb8edec83d724 (patch) | |
tree | a22ae5c193df6282ff3a3c81d657908b4a42b9cd /tests/functional/report_post_captcha.php | |
parent | 43053c541ac0f998a3925b7277cfb77f1ceafb11 (diff) | |
download | forums-1abc3d91d05919f20b31876dbafbb8edec83d724.tar forums-1abc3d91d05919f20b31876dbafbb8edec83d724.tar.gz forums-1abc3d91d05919f20b31876dbafbb8edec83d724.tar.bz2 forums-1abc3d91d05919f20b31876dbafbb8edec83d724.tar.xz forums-1abc3d91d05919f20b31876dbafbb8edec83d724.zip |
[ticket/11566] Use language variable instead of hardcode
Add language variable in tests
PHPBB3-11566
Diffstat (limited to 'tests/functional/report_post_captcha.php')
-rw-r--r-- | tests/functional/report_post_captcha.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/report_post_captcha.php b/tests/functional/report_post_captcha.php index 6b112c3538..e0a67ab6fa 100644 --- a/tests/functional/report_post_captcha.php +++ b/tests/functional/report_post_captcha.php @@ -44,7 +44,8 @@ class phpbb_functional_report_post_captcha_test extends phpbb_functional_test_ca $form->setValues($values); $crawler = self::submit($form); - $form = $crawler->selectButton('Apply all permissions')->form(); + $this->add_lang('acp/permissions'); + $form = $crawler->selectButton($this->lang('APPLY_ALL_PERMISSIONS'))->form(); $values = $form->getValues(); $values["setting[1][2][f_report]"] = 1; $form->setValues($values); |