Commit 7022daa7 authored by alexpott's avatar alexpott

Issue #2379459 by larowlan: Add a test for forum action links for anon users

parent 839186c0
......@@ -201,6 +201,11 @@ function testForum() {
$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.'));
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment