public static function HookRequirementsTestCase::getInfo

7.x system.test public static HookRequirementsTestCase::getInfo()

File

drupal-7.x/modules/system/system.test, line 355
Tests for system.module.

Class

HookRequirementsTestCase
Tests failure of hook_requirements('install').

Code

public static function getInfo() {
  return array(
    'name' => 'Requirements hook failure',
    'description' => "Attempts enabling a module that fails hook_requirements('install').",
    'group' => 'Module',
  );
}