function NoHelpTestCase::testMainPageNoHelp
Ensures modules not implementing help do not appear on admin/help.
File
-
modules/
help/ help.test, line 136
Class
- NoHelpTestCase
- Tests a module without help to verify it is not listed in the help page.
Code
function testMainPageNoHelp() {
$this->drupalLogin($this->big_user);
$this->drupalGet('admin/help');
$this->assertNoText('Hook menu tests', 'Making sure the test module menu_test does not display a help link in admin/help');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.