Issue #2099251 by larowlan, targoo: Missing helper short description in forum.
parent
3e44259861
commit
7e85262fc3
|
@ -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 @@ 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');
|
||||
|
|
Loading…
Reference in New Issue