mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/9758] Adds id and changes filter to fix travis CI test
PHPBB3-9758
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -60,7 +60,7 @@ class phpbb_functional_notification_test extends phpbb_functional_test_case
|
||||
$this->add_user_group('NEWLY_REGISTERED', array('notificationtestuser'));
|
||||
$this->login('notificationtestuser');
|
||||
$crawler = self::request('GET', 'index.php');
|
||||
$this->assertContains('notificationtestuser', $crawler->filter('.icon-logout')->text());
|
||||
$this->assertContains('notificationtestuser', $crawler->filter('#username_logged_in')->text());
|
||||
|
||||
// Post a new post that needs approval
|
||||
$this->create_post(2, 1, 'Re: Welcome to phpBB3', 'This is a test [b]post[/b] posted by notificationtestuser.', array(), 'POST_STORED_MOD');
|
||||
|
Reference in New Issue
Block a user