aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/auth_test.php
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-07-09 00:24:28 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-06 22:10:09 -0500
commitcafc7feca12730fce59091bd7a18fb5c3f7ecdc0 (patch)
tree2cf76c23f3c9c4bae26cc7a2e2f3ade5be4dc497 /tests/functional/auth_test.php
parent70050020699d9eab9b97bda342e0e928d1591de8 (diff)
downloadforums-cafc7feca12730fce59091bd7a18fb5c3f7ecdc0.tar
forums-cafc7feca12730fce59091bd7a18fb5c3f7ecdc0.tar.gz
forums-cafc7feca12730fce59091bd7a18fb5c3f7ecdc0.tar.bz2
forums-cafc7feca12730fce59091bd7a18fb5c3f7ecdc0.tar.xz
forums-cafc7feca12730fce59091bd7a18fb5c3f7ecdc0.zip
[ticket/10972] Moved tests into appropriate places and added comments
PHPBB3-10972
Diffstat (limited to 'tests/functional/auth_test.php')
-rw-r--r--tests/functional/auth_test.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/auth_test.php b/tests/functional/auth_test.php
index e955dcb4df..e67118d8f9 100644
--- a/tests/functional/auth_test.php
+++ b/tests/functional/auth_test.php
@@ -21,6 +21,15 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case
$this->assertContains($this->lang('LOGOUT_USER', 'admin'), $crawler->filter('.navbar')->text());
}
+ public function test_login_other()
+ {
+ $this->create_user('user');
+ $this->login('user');
+ $crawler = $this->request('GET', 'index.php');
+ $this->assertContains('user', $crawler->filter('.icon-logout')->text());
+ $this->delete_user('user');
+ }
+
/**
* @depends test_login
*/