- Patch #742114 by fgm: test methods should be protected, not private.

merge-requests/26/head
Dries Buytaert 2010-04-01 14:52:21 +00:00
parent 5c60b7ca37
commit 44a487f2c6
1 changed files with 2 additions and 2 deletions

View File

@ -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) {