function CountriesApiTest::test_invalidformat__countries_api_iso_get_country in Country codes API 5
Function to test invalid format passed to _countries_api_iso_get_country
File
- tests/
countries_api.test, line 58
Class
Code
function test_invalidformat__countries_api_iso_get_country() {
$value = VALID_ISO2;
$format = INVALID_FORMAT;
$country = _countries_api_iso_get_country($value, $format);
$this
->assertFalse($country, 'Testing countries_api_iso_get_country format validation. %s');
}