aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/auth_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-05-27 22:12:50 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-05-27 23:10:07 +0200
commite77c8ee4ef745e69e7af06b69b3abd7412704b2f (patch)
treeb9d2d8f6f7ae95616c4a960d2b70d6d3910d3189 /tests/functional/auth_test.php
parent135139aca9bc9694397ad2bf4b7d7f9447ca033b (diff)
downloadforums-e77c8ee4ef745e69e7af06b69b3abd7412704b2f.tar
forums-e77c8ee4ef745e69e7af06b69b3abd7412704b2f.tar.gz
forums-e77c8ee4ef745e69e7af06b69b3abd7412704b2f.tar.bz2
forums-e77c8ee4ef745e69e7af06b69b3abd7412704b2f.tar.xz
forums-e77c8ee4ef745e69e7af06b69b3abd7412704b2f.zip
[ticket/11568] Remove manual calls to assert_response_success()
PHPBB3-11568
Diffstat (limited to 'tests/functional/auth_test.php')
-rw-r--r--tests/functional/auth_test.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/functional/auth_test.php b/tests/functional/auth_test.php
index 662b1bd38b..a0c909e798 100644
--- a/tests/functional/auth_test.php
+++ b/tests/functional/auth_test.php
@@ -18,7 +18,6 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case
// check for logout link
$crawler = $this->request('GET', 'index.php');
- $this->assert_response_success();
$this->assertContains($this->lang('LOGOUT_USER', 'admin'), $crawler->filter('.navbar')->text());
}
@@ -27,7 +26,6 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case
$this->create_user('anothertestuser');
$this->login('anothertestuser');
$crawler = $this->request('GET', 'index.php');
- $this->assert_response_success();
$this->assertContains('anothertestuser', $crawler->filter('.icon-logout')->text());
}
@@ -41,12 +39,10 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case
// logout
$crawler = $this->request('GET', 'ucp.php?sid=' . $this->sid . '&mode=logout');
- $this->assert_response_success();
$this->assertContains($this->lang('LOGOUT_REDIRECT'), $crawler->filter('#message')->text());
// look for a register link, which should be visible only when logged out
$crawler = $this->request('GET', 'index.php');
- $this->assert_response_success();
$this->assertContains($this->lang('REGISTER'), $crawler->filter('.navbar')->text());
}
}