aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/report_post_captcha.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-06-12 02:00:24 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-07-01 21:49:00 +0530
commit1abc3d91d05919f20b31876dbafbb8edec83d724 (patch)
treea22ae5c193df6282ff3a3c81d657908b4a42b9cd /tests/functional/report_post_captcha.php
parent43053c541ac0f998a3925b7277cfb77f1ceafb11 (diff)
downloadforums-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.php3
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);