You are here

function password_policy_simpletest in Password Policy 6

Same name and namespace in other branches
  1. 5 password_policy.module \password_policy_simpletest()

Implements hook_simpletest().

File

./password_policy.module, line 629
The password policy module allows you to enforce a specific level of password complexity for the user passwords on the system.

Code

function password_policy_simpletest() {

  // Scan through mymodule/tests directory for any .test files to tell
  // SimpleTest module.
  $tests = file_scan_directory(drupal_get_path('module', 'password_policy') . '/tests', '\\.test');
  return array_keys($tests);
}