aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-11 14:06:08 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-11 15:00:22 +0200
commit60713c8a203b4d92db016f38cf8d78165d72b30a (patch)
treeffb943e72ed94762b93f16db72b491241e6c13d7 /tests/functional
parent52a0f32d99bf87075049600b15c40147ab698a61 (diff)
downloadforums-60713c8a203b4d92db016f38cf8d78165d72b30a.tar
forums-60713c8a203b4d92db016f38cf8d78165d72b30a.tar.gz
forums-60713c8a203b4d92db016f38cf8d78165d72b30a.tar.bz2
forums-60713c8a203b4d92db016f38cf8d78165d72b30a.tar.xz
forums-60713c8a203b4d92db016f38cf8d78165d72b30a.zip
[ticket/11492] Add functional test for empty teampage
PHPBB3-11492
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/memberlist_test.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/memberlist_test.php b/tests/functional/memberlist_test.php
index 879bee2f0e..5c5d96d777 100644
--- a/tests/functional/memberlist_test.php
+++ b/tests/functional/memberlist_test.php
@@ -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();
+ }
}