1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-12 15:34:31 +02:00

[ticket/17539] Set pass type to any for functional reg tests

PHPBB-17539
This commit is contained in:
Marc Alexander
2025-10-01 21:24:06 +02:00
parent 7bec548653
commit 1a92461e4b

View File

@@ -24,6 +24,7 @@ class phpbb_functional_registration_test extends phpbb_functional_test_case
$crawler = self::request('GET', "adm/index.php?i=acp_board&mode=registration&sid={$this->sid}");
$form = $crawler->selectButton('Submit')->form();
$form['config[enable_confirm]']->setValue('0');
$form['config[pass_complex]']->setValue('PASS_TYPE_ANY');
$crawler = self::submit($form);
$this->assertContainsLang('CONFIG_UPDATED', $crawler->filter('#main .successbox')->text());