function user_import_simpletest in User Import 5
Same name and namespace in other branches
- 8 user_import.module \user_import_simpletest()
- 6.4 user_import.module \user_import_simpletest()
- 6.2 user_import.module \user_import_simpletest()
- 7.3 user_import.module \user_import_simpletest()
- 7 user_import.module \user_import_simpletest()
- 7.2 user_import.module \user_import_simpletest()
Implementation of hook_simpletest().
File
- ./
user_import.module, line 1696 - Import users 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);
}