mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11492] Fix the test once more
PHPBB3-11492
This commit is contained in:
parent
7f527e8012
commit
4d4cf25edd
1 changed files with 1 additions and 7 deletions
|
@ -58,17 +58,11 @@ class phpbb_functional_memberlist_test extends phpbb_functional_test_case
|
|||
{
|
||||
$this->login();
|
||||
|
||||
// Remove admin from admins, still a moderator
|
||||
// Remove admin from admins
|
||||
$this->remove_user_group('ADMINISTRATORS', array('admin'));
|
||||
$crawler = $this->request('GET', 'memberlist.php?mode=leaders&sid=' . $this->sid);
|
||||
$this->assert_response_success();
|
||||
$this->assertContains('admin', $crawler->text());
|
||||
|
||||
// Remove admin from moderators
|
||||
$this->remove_user_group('GLOBAL_MODERATORS', array('admin'));
|
||||
$crawler = $this->request('GET', 'memberlist.php?mode=leaders&sid=' . $this->sid);
|
||||
$this->assert_response_success();
|
||||
$this->assertNotContains('admin', $crawler->text());
|
||||
}
|
||||
|
||||
public function test_leaders_add_users()
|
||||
|
|
Loading…
Add table
Reference in a new issue