diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:58:40 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:58:40 +0200 |
commit | f1523944a048e22207d6f200c6d152ecb9fdc136 (patch) | |
tree | 3ba72958a07f767ea96a46d296ee64615c105a71 /tests/functional/memberlist_test.php | |
parent | 467c4d62c44a32a1a60bed2e2a2519b10cdebd33 (diff) | |
download | forums-f1523944a048e22207d6f200c6d152ecb9fdc136.tar forums-f1523944a048e22207d6f200c6d152ecb9fdc136.tar.gz forums-f1523944a048e22207d6f200c6d152ecb9fdc136.tar.bz2 forums-f1523944a048e22207d6f200c6d152ecb9fdc136.tar.xz forums-f1523944a048e22207d6f200c6d152ecb9fdc136.zip |
[ticket/develop/11568] Remove unneccessary calls to assert_response_success()
PHPBB3-11568
Diffstat (limited to 'tests/functional/memberlist_test.php')
-rw-r--r-- | tests/functional/memberlist_test.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/functional/memberlist_test.php b/tests/functional/memberlist_test.php index 92ede8bd04..ef3c9b3298 100644 --- a/tests/functional/memberlist_test.php +++ b/tests/functional/memberlist_test.php @@ -18,17 +18,14 @@ class phpbb_functional_memberlist_test extends phpbb_functional_test_case // logs in as admin $this->login(); $crawler = $this->request('GET', 'memberlist.php?sid=' . $this->sid); - $this->assert_response_success(); $this->assertContains('memberlist-test-user', $crawler->text()); // restrict by first character $crawler = $this->request('GET', 'memberlist.php?first_char=m&sid=' . $this->sid); - $this->assert_response_success(); $this->assertContains('memberlist-test-user', $crawler->text()); // make sure results for wrong character are not returned $crawler = $this->request('GET', 'memberlist.php?first_char=a&sid=' . $this->sid); - $this->assert_response_success(); $this->assertNotContains('memberlist-test-user', $crawler->text()); } @@ -37,15 +34,12 @@ class phpbb_functional_memberlist_test extends phpbb_functional_test_case $this->login(); // XXX hardcoded user id $crawler = $this->request('GET', 'memberlist.php?mode=viewprofile&u=2&sid=' . $this->sid); - $this->assert_response_success(); $this->assertContains('admin', $crawler->filter('h2')->text()); } protected function get_memberlist_leaders_table_crawler() { $crawler = $this->request('GET', 'memberlist.php?mode=leaders&sid=' . $this->sid); - $this->assert_response_success(); - return $crawler->filter('.forumbg-table'); } |