You are here

function CountriesApiTest::test_countries_api_iso2_get_iso3 in Country codes API 5

Function to test countries_api_iso2_get_iso3() results

File

tests/countries_api.test, line 77

Class

CountriesApiTest

Code

function test_countries_api_iso2_get_iso3() {
  $code = VALID_ISO2;
  $iso3 = countries_api_iso2_get_iso3($code);
  $this
    ->assertNotEqual($iso3, false, 'Test countries_api_iso2_get_iso3 results. %s');
}