You are here

function user_import_simpletest in User Import 7

Same name and namespace in other branches
  1. 8 user_import.module \user_import_simpletest()
  2. 5 user_import.module \user_import_simpletest()
  3. 6.4 user_import.module \user_import_simpletest()
  4. 6.2 user_import.module \user_import_simpletest()
  5. 7.3 user_import.module \user_import_simpletest()
  6. 7.2 user_import.module \user_import_simpletest()

Implementation of hook_simpletest().

File

./user_import.module, line 769
Import or update users with data from a comma separated file (csv).

Code

function user_import_simpletest() {
  $module_name = 'user_import';
  $dir = drupal_get_path('module', $module_name) . '/tests';
  $tests = file_scan_directory($dir, '\\.test$');
  return array_keys($tests);
}