diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:51:06 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-05-28 14:51:06 +0200 |
commit | 6d9888be6504dee73341832c7de3d085f09da983 (patch) | |
tree | f22cda54ae82ca3507bc5f37264b4c32e0775674 /tests/functional/auth_test.php | |
parent | fc1c7211ab3c8766b538625236a7f9628dc8ffb2 (diff) | |
parent | e84fb0c6cacdd4da2542bb94e5994d1962930ca4 (diff) | |
download | forums-6d9888be6504dee73341832c7de3d085f09da983.tar forums-6d9888be6504dee73341832c7de3d085f09da983.tar.gz forums-6d9888be6504dee73341832c7de3d085f09da983.tar.bz2 forums-6d9888be6504dee73341832c7de3d085f09da983.tar.xz forums-6d9888be6504dee73341832c7de3d085f09da983.zip |
Merge branch 'ticket/11568' into ticket/11568-develop
* ticket/11568:
[ticket/11568] Add method to get page content
[ticket/11568] Allow different status codes
[ticket/11568] Trim the output to allow Tabs before INCLUDE overall_header
[ticket/11568] Fix common_groups_test.php form handling
[ticket/11568] Make CookieJar static aswell
[ticket/11568] Remove manual calls to assert_response_success()
[ticket/11568] Only use a static version of the client
[ticket/11568] Any output before the doc type means there was an error
[ticket/11568] Set client manually so we can increase the cURL timeout
[ticket/11568] Use Goutte Client to install the board for functional tests
Conflicts:
tests/test_framework/phpbb_functional_test_case.php
Diffstat (limited to 'tests/functional/auth_test.php')
-rw-r--r-- | tests/functional/auth_test.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/functional/auth_test.php b/tests/functional/auth_test.php index f92a4a2210..8359bbe8ea 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()); } |