You are here

function countries_api_simpletest in Country codes API 5

Implementation of hook_simpletest()

File

./countries_api.module, line 297

Code

function countries_api_simpletest() {
  $module_name = 'countries_api';

  // Change this to your module name.
  $dir = drupal_get_path('module', $module_name) . '/tests';
  $tests = file_scan_directory($dir, '\\.test$');
  return array_keys($tests);
}