You are here

function CountriesAPITestCase::test_countries_api_iso2_get_name in Country codes API 6

Function to test results of countries_api_iso2_get_name()

File

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

Class

CountriesAPITestCase

Code

function test_countries_api_iso2_get_name() {
  $code = COUNTRIES_API_TEST_VALID_ISO2;
  $country_name = countries_api_iso2_get_name($code);
  $this
    ->assertNotNull($country_name, 'Test countries_api_iso2_get_name results.');
}