diff options
author | Crizzo <mail@crizzo.de> | 2014-03-24 20:57:25 +0100 |
---|---|---|
committer | Crizzo <mail@crizzo.de> | 2014-03-28 19:26:28 +0100 |
commit | 9568181b98a370b81c1683ecba36bf4f8a9ea697 (patch) | |
tree | 7865ffd02c0a337dd603bd5bb5905a48ecf359f5 /tests/functional/auth_test.php | |
parent | d48d47c91689b8a058ceed1d5165585143f20e3d (diff) | |
download | forums-9568181b98a370b81c1683ecba36bf4f8a9ea697.tar forums-9568181b98a370b81c1683ecba36bf4f8a9ea697.tar.gz forums-9568181b98a370b81c1683ecba36bf4f8a9ea697.tar.bz2 forums-9568181b98a370b81c1683ecba36bf4f8a9ea697.tar.xz forums-9568181b98a370b81c1683ecba36bf4f8a9ea697.zip |
[ticket/9758] Adds id and changes filter to fix travis CI test
PHPBB3-9758
Diffstat (limited to 'tests/functional/auth_test.php')
-rw-r--r-- | tests/functional/auth_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/auth_test.php b/tests/functional/auth_test.php index cfd85571b7..d3fed18094 100644 --- a/tests/functional/auth_test.php +++ b/tests/functional/auth_test.php @@ -18,7 +18,7 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case // check for logout link $crawler = self::request('GET', 'index.php'); - $this->assertContains($this->lang('LOGOUT_USER', 'admin'), $crawler->filter('.navbar')->text()); + $this->assertContains($this->lang('LOGOUT', 'admin'), $crawler->filter('.navbar')->text()); } public function test_login_other() @@ -26,7 +26,7 @@ class phpbb_functional_auth_test extends phpbb_functional_test_case $this->create_user('anothertestuser'); $this->login('anothertestuser'); $crawler = self::request('GET', 'index.php'); - $this->assertContains('anothertestuser', $crawler->filter('.icon-logout')->text()); + $this->assertContains('anothertestuser', $crawler->filter('#username_logged_in')->text()); } /** |