mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 11:35:24 +02:00
[ticket/9758] Adds id and changes filter to fix travis CI test
PHPBB3-9758
This commit is contained in:
@ -89,7 +89,7 @@
|
||||
<!-- EVENT overall_header_breadcrumb_append -->
|
||||
</li>
|
||||
|
||||
<!-- IF S_REGISTERED_USER --><li class="rightside"><!-- IF CURRENT_USER_AVATAR --><span class="avatar-overall-header">{CURRENT_USER_AVATAR}</span> <!-- ENDIF -->{USERNAME_FULL}</li><!-- ENDIF -->
|
||||
<!-- IF S_REGISTERED_USER --><li id="username_logged_in" class="rightside"><!-- IF CURRENT_USER_AVATAR --><span class="avatar-overall-header">{CURRENT_USER_AVATAR}</span> <!-- ENDIF -->{USERNAME_FULL}</li><!-- ENDIF -->
|
||||
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
|
||||
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
|
||||
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
|
||||
|
@ -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