Issue #2379459 by larowlan: Add a test for forum action links for anon users
parent
839186c008
commit
7022daa7dc
|
@ -201,6 +201,11 @@ class ForumTest extends WebTestBase {
|
|||
$vocabulary->save();
|
||||
$this->drupalGet('forum');
|
||||
$this->assertTitle(t('Discussions | Drupal'));
|
||||
|
||||
// Test anonymous action link.
|
||||
$this->drupalLogout();
|
||||
$this->drupalGet('forum/' . $this->forum['tid']);
|
||||
$this->assertLink(t('Log in to post new content in the forum.'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue