1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/10972] Moved tests into appropriate places and added comments

PHPBB3-10972
This commit is contained in:
Fyorl
2012-07-09 00:24:28 +01:00
committed by Oleg Pudeyev
parent 7005002069
commit cafc7feca1
3 changed files with 13 additions and 45 deletions

View File

@@ -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
*/