summaryrefslogtreecommitdiffstats
path: root/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/src/Tests/Form/ModulesListFormWebTest.php')
-rw-r--r--core/modules/system/src/Tests/Form/ModulesListFormWebTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
index 3600364..489f6ff 100644
--- a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
+++ b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php
@@ -19,7 +19,7 @@ class ModulesListFormWebTest extends WebTestBase {
/**
* {@inheritdoc}
*/
- public static $modules = array('system_test');
+ public static $modules = array('system_test', 'help');
/**
* {@inheritdoc}
@@ -46,6 +46,9 @@ class ModulesListFormWebTest extends WebTestBase {
// Check that system_test's permissions link was rendered correctly.
$this->assertFieldByXPath("//a[contains(@href, '/admin/people/permissions#module-system_test') and @title='Configure permissions']");
+
+ // Check that system_test's help link was rendered correctly.
+ $this->assertFieldByXPath("//a[contains(@href, '/admin/help/system_test') and @title='Help']");
}
}