mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-1331] test of 1-argument getCountryName() should get expected value from default locale
This commit is contained in:
@@ -61,7 +61,7 @@ public class TestLocationUtils
|
||||
@Test
|
||||
public void testGetCountryNameString()
|
||||
{
|
||||
assertEquals("United States", LocationUtils.getCountryName(
|
||||
assertEquals(Locale.US.getDisplayCountry(), LocationUtils.getCountryName(
|
||||
"US"));
|
||||
assertEquals(UNKNOWN_COUNTRY, LocationUtils.getCountryName(null));
|
||||
assertEquals("XX", LocationUtils.getCountryName("XX"));
|
||||
|
Reference in New Issue
Block a user