1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/16825] Adjust functional tests for modified sid handling

PHPBB3-16825
This commit is contained in:
Marc Alexander
2021-07-31 08:32:41 +02:00
parent 03ec6ce0a9
commit 217fc07036
5 changed files with 15 additions and 20 deletions

View File

@@ -60,12 +60,7 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case
$this->login();
$this->add_lang('ucp');
// logout
$crawler = self::request('GET', 'ucp.php?sid=' . $this->sid . '&mode=logout');
// look for a register link, which should be visible only when logged out
$crawler = self::request('GET', 'index.php');
$this->assertStringContainsString($this->lang('REGISTER'), $crawler->filter('.navbar')->text());
$this->logout();
}
public function test_acp_login()