summaryrefslogtreecommitdiff
path: root/modules/help/help.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-01 14:52:21 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-01 14:52:21 +0000
commit44a487f2c6fa50f7d46e9791e5d33de3a06fbc2c (patch)
treed9e5e7b4815ff8a535bfd31532df1e207eddaa86 /modules/help/help.test
parent5c60b7ca372a6ef1f5ccbd7a21ac04f986499cca (diff)
downloadbrdo-44a487f2c6fa50f7d46e9791e5d33de3a06fbc2c.tar.gz
brdo-44a487f2c6fa50f7d46e9791e5d33de3a06fbc2c.tar.bz2
- Patch #742114 by fgm: test methods should be protected, not private.
Diffstat (limited to 'modules/help/help.test')
-rw-r--r--modules/help/help.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/help/help.test b/modules/help/help.test
index 9edde2253..db739f345 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -60,7 +60,7 @@ class HelpTestCase extends DrupalWebTestCase {
*
* @param integer $response HTTP response code.
*/
- private function verifyHelp($response = 200) {
+ protected function verifyHelp($response = 200) {
foreach ($this->modules as $module => $name) {
// View module help node.
$this->drupalGet('admin/help/' . $module);
@@ -77,7 +77,7 @@ class HelpTestCase extends DrupalWebTestCase {
*
* @return array Enabled modules.
*/
- private function getModuleList() {
+ protected function getModuleList() {
$this->modules = array();
$result = db_query("SELECT name, filename, info FROM {system} WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC");
foreach ($result as $module) {