function CountriesApiTest::test_invalid_countries_api_get_name in Country codes API 5
Function to test countries_api_get_name() results with invalid name
File
- tests/
countries_api.test, line 131
Class
Code
function test_invalid_countries_api_get_name() {
$name = INVALID_ISO2;
$country_name = countries_api_get_name($name);
$this
->assertNull($country_name, 'Test test_countries_api_get_name results. %s');
}