You are here

function RegionsAPITestCase::test_regions_api_iso2_get_array in Country codes API 6

Test that the links are added to the page (no JS testing).

File

contrib/regions_api/tests/regions_api.test, line 25
Tests for Regions API.

Class

RegionsAPITestCase
@file Tests for Regions API.

Code

function test_regions_api_iso2_get_array() {
  $regions = regions_api_iso2_get_array('US');
  $this
    ->assertNotNull($regions, 'Checking regions api array results.');
}