1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge pull request #6541 from Crizz0/ticket/17093-master

[ticket/17093] Add ACP setting to limit access to disabled board
This commit is contained in:
Marc Alexander
2024-02-22 20:01:59 +01:00
committed by GitHub
7 changed files with 254 additions and 3 deletions

View File

@@ -851,8 +851,9 @@ class phpbb_functional_test_case extends phpbb_test_case
{
$this->add_lang('ucp');
$crawler = self::request('GET', 'ucp.php');
$this->assertStringContainsString($this->lang('LOGIN_EXPLAIN_UCP'), $crawler->filter('html')->text());
$crawler = self::request('GET', 'ucp.php?mode=login');
$button = $crawler->selectButton($this->lang('LOGIN'));
$this->assertGreaterThan(0, $button->count(), 'No login button found');
$form = $crawler->selectButton($this->lang('LOGIN'))->form();
if ($autologin)