mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17093] Change how login is handled to support disabled boards
PHPBB3-17093
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user