mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/11492] Add functional test for empty teampage
PHPBB3-11492
This commit is contained in:
@@ -40,4 +40,13 @@ class phpbb_functional_memberlist_test extends phpbb_functional_test_case
|
||||
$this->assert_response_success();
|
||||
$this->assertContains('admin', $crawler->filter('h2')->text());
|
||||
}
|
||||
|
||||
public function test_leaders()
|
||||
{
|
||||
$this->login();
|
||||
$this->remove_user_group('ADMINISTRATORS', array('admin'));
|
||||
|
||||
$crawler = $this->request('GET', 'memberlist.php?mode=leaders&sid=' . $this->sid);
|
||||
$this->assert_response_success();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user