mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/11566] Use language variable instead of hardcode
Add language variable in tests PHPBB3-11566
This commit is contained in:
parent
43053c541a
commit
1abc3d91d0
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue