You are here

function CountriesApiTest::test_countries_api_get_name in Country codes API 5

Function to test countries_api_get_name() results

File

tests/countries_api.test, line 122

Class

CountriesApiTest

Code

function test_countries_api_get_name() {
  $name = VALID_ISO2;
  $country_name = countries_api_get_name($name);
  $this
    ->assertNotNull($country_name, 'Test test_countries_api_get_name results. %s');
}