mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 03:50:22 +02:00
[ticket/11566] Use language variable instead of hardcode
Add language variable in tests PHPBB3-11566
This commit is contained in:
@@ -44,7 +44,8 @@ class phpbb_functional_report_post_captcha_test extends phpbb_functional_test_ca
|
|||||||
$form->setValues($values);
|
$form->setValues($values);
|
||||||
$crawler = self::submit($form);
|
$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 = $form->getValues();
|
||||||
$values["setting[1][2][f_report]"] = 1;
|
$values["setting[1][2][f_report]"] = 1;
|
||||||
$form->setValues($values);
|
$form->setValues($values);
|
||||||
|
Reference in New Issue
Block a user