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

8.0.x
webchick 2013-11-23 13:22:00 -08:00
parent 3e44259861
commit 7e85262fc3
2 changed files with 4 additions and 1 deletions

View File

@ -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>';

View File

@ -103,6 +103,7 @@ class ForumTest extends WebTestBase {
'skip comment approval',
'access comments',
));
$this->drupalPlaceBlock('system_help_block', array('region' => 'help'));
}
/**
@ -257,6 +258,8 @@ class ForumTest extends WebTestBase {
$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');