[ticket/11566] Use language variable instead of hardcode

Add language variable in tests

PHPBB3-11566
This commit is contained in:
Dhruv 2013-06-12 02:00:24 +05:30
parent 43053c541a
commit 1abc3d91d0

View file

@ -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);