1
0
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:
Joas Schilling
2013-04-11 14:06:08 +02:00
parent 52a0f32d99
commit 60713c8a20
2 changed files with 49 additions and 0 deletions

View File

@@ -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();
}
}