You are here

function CountriesBaseSetupTest::getUnchangedCountries in Countries 7.2

Same name and namespace in other branches
  1. 8 tests/countries.test \CountriesBaseSetupTest::getUnchangedCountries()

Provides a sample group of countries defined by core that match the ISO Standards.

2 calls to CountriesBaseSetupTest::getUnchangedCountries()
CountriesBaseImportUnitTest::testCountriesCoreListingImport in tests/countries.test
Tests the import routines.
CountriesBaseImportUnitTest::testCountriesCoreListingPreImport in tests/countries.test
This browes the list of countries returned by Drupal to ensure that the module is correctly updating this.

File

tests/countries.test, line 58
Tests for countries.module.

Class

CountriesBaseSetupTest
Test the node_load_multiple() function.

Code

function getUnchangedCountries() {
  return array(
    'AD' => t('Andorra'),
    'AF' => t('Afghanistan'),
    'ZW' => t('Zimbabwe'),
  );
}