Commit f09e2957 authored by webchick's avatar webchick

Issue #2160933 by TR: NoHelpTest is faulty.

parent 0f968f6d
......@@ -21,7 +21,7 @@ class NoHelpTest extends WebTestBase {
*
* @var array.
*/
public static $modules = array('menu_test');
public static $modules = array('help', 'menu_test');
/**
* The user who will be created.
......@@ -48,6 +48,8 @@ public function testMainPageNoHelp() {
$this->drupalLogin($this->adminUser);
$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');
$this->assertResponse(200);
$this->assertText('Help is available on the following items', 'Help page is found.');
$this->assertNoText('Hook menu tests', 'Making sure the test module menu_test does not display a help link on admin/help.');
}
}
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