You are here

function CountriesApiTest::test_results_countries_api_iso_get_country in Country codes API 5

Function to test _countries_api_iso_get_country returns a value

File

tests/countries_api.test, line 48

Class

CountriesApiTest

Code

function test_results_countries_api_iso_get_country() {
  $value = VALID_ISO2;
  $format = VALID_FORMAT;
  $country = _countries_api_iso_get_country($value, $format);
  $this
    ->assertTrue($country, 'Testing countries_api_iso_get_country return format. %s');
}