You are here

function CountriesApiTest::test_countries_api_iso3_get_iso2 in Country codes API 5

Function to test countries_api_iso3_get_iso2() results

File

tests/countries_api.test, line 68

Class

CountriesApiTest

Code

function test_countries_api_iso3_get_iso2() {
  $code = VALID_ISO3;
  $iso2 = countries_api_iso3_get_iso2($code);
  $this
    ->assertNotEqual($iso2, false, 'Test countries_api_iso3_get_iso2 results. %s');
}