Commit 7e85262f authored by webchick's avatar webchick
Browse files

Issue #2099251 by larowlan, targoo: Missing helper short description in forum.

parent 3e442598
......@@ -58,7 +58,7 @@ function forum_help($path, $arg) {
'class' => array('more-help-link'),
),
);
$output = drupal_render($container);
$output .= drupal_render($container);
return $output;
case 'admin/structure/forum/add/container':
return '<p>' . t('Use containers to group related forums.') . '</p>';
......
......@@ -103,6 +103,7 @@ function setUp() {
'skip comment approval',
'access comments',
));
$this->drupalPlaceBlock('system_help_block', array('region' => 'help'));
}
/**
......@@ -257,6 +258,8 @@ private function doAdminTests($user) {
$this->forumContainer = $this->createForum('container');
// Verify "edit container" link exists and functions correctly.
$this->drupalGet('admin/structure/forum');
// Verify help text is shown.
$this->assertText(t('Forums contain forum topics. Use containers to group related forums'));
// Verify action links are there.
$this->assertLink('Add forum');
$this->assertLink('Add container');
......
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