mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17093] Change how login is handled to support disabled boards
PHPBB3-17093
This commit is contained in:
parent
be93efee1d
commit
946fb7d9a4
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue