- Patch #742114 by fgm: test methods should be protected, not private.
parent
5c60b7ca37
commit
44a487f2c6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue