You are here

function CountriesAPITestCase::test_countries_api_iso2_get_iso3 in Country codes API 6

Function to test countries_api_iso2_get_iso3() results

File

tests/countries_api.test, line 86
Tests for Countries API

Class

CountriesAPITestCase

Code

function test_countries_api_iso2_get_iso3() {
  $code = COUNTRIES_API_TEST_VALID_ISO2;
  $iso3 = countries_api_iso2_get_iso3($code);
  $this
    ->assertNotEqual($iso3, FALSE, 'Test countries_api_iso2_get_iso3 results.');
}