Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7022daa7
Commit
7022daa7
authored
Nov 21, 2014
by
alexpott
Browse files
Issue
#2379459
by larowlan: Add a test for forum action links for anon users
parent
839186c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/forum/src/Tests/ForumTest.php
View file @
7022daa7
...
...
@@ -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.'
));
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment