aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-13 12:02:49 -0400
committerJoas Schilling <nickvergessen@gmx.de>2013-07-13 12:02:49 -0400
commit7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae (patch)
tree374a26be367db28949ea6191db58f0b0674c8d02 /tests/test_framework/phpbb_functional_test_case.php
parentfd10d97cb1e6c43b88b923bab1015cafe03d379c (diff)
downloadforums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.gz
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.bz2
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.tar.xz
forums-7d0c1d02ca428305f3cd4b57249c90d0d86bc3ae.zip
[ticket/11684] Remove useless confirmation page after login and admin login
PHPBB3-11684
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index f27e339bb7..2f5de76c11 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -610,7 +610,7 @@ class phpbb_functional_test_case extends phpbb_test_case
$form = $crawler->selectButton($this->lang('LOGIN'))->form();
$crawler = self::submit($form, array('username' => $username, 'password' => $username . $username));
- $this->assertContains($this->lang('LOGIN_REDIRECT'), $crawler->filter('html')->text());
+ $this->assertNotContains($this->lang('LOGIN'), $crawler->filter('.navbar')->text());
$cookies = self::$cookieJar->all();
@@ -659,7 +659,7 @@ class phpbb_functional_test_case extends phpbb_test_case
if (strpos($field, 'password_') === 0)
{
$crawler = self::submit($form, array('username' => $username, $field => $username . $username));
- $this->assertContains($this->lang('LOGIN_ADMIN_SUCCESS'), $crawler->filter('html')->text());
+ $this->assertContains($this->lang('ADMIN_PANEL'), $crawler->filter('h1')->text());
$cookies = self::$cookieJar->all();