You are here

function CountriesAPITestCase::test_countries_api_get_name in Country codes API 6

Function to test countries_api_get_name() results

File

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

Class

CountriesAPITestCase

Code

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