You are here

function CountriesAPITestCase::test_countries_api_get_list in Country codes API 6

Function to validate format (and presence of) countries from countries_api_get_list()

File

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

Class

CountriesAPITestCase

Code

function test_countries_api_get_list() {
  $countries = countries_api_get_list();
  $this
    ->assertTrue(is_array($countries), 'Checking countries api list.');
}