diff --git a/src/main/java/io/ipinfo/api/context/Context.java b/src/main/java/io/ipinfo/api/context/Context.java index e16693f..161b3d3 100644 --- a/src/main/java/io/ipinfo/api/context/Context.java +++ b/src/main/java/io/ipinfo/api/context/Context.java @@ -566,7 +566,7 @@ public class Context { tempCountriesCurrencies.put("BD", new CountryCurrency("BDT", "৳")); tempCountriesCurrencies.put("BE", new CountryCurrency("EUR", "€")); tempCountriesCurrencies.put("BF", new CountryCurrency("XOF", "CFA")); - tempCountriesCurrencies.put("BG", new CountryCurrency("BGN", "лв")); + tempCountriesCurrencies.put("BG", new CountryCurrency("EUR", "€")); tempCountriesCurrencies.put("BH", new CountryCurrency("BHD", ".د.ب")); tempCountriesCurrencies.put("BI", new CountryCurrency("BIF", "FBu")); tempCountriesCurrencies.put("BJ", new CountryCurrency("XOF", "CFA")); diff --git a/src/test/java/io/ipinfo/IPinfoTest.java b/src/test/java/io/ipinfo/IPinfoTest.java index ac3cbd2..7435c73 100644 --- a/src/test/java/io/ipinfo/IPinfoTest.java +++ b/src/test/java/io/ipinfo/IPinfoTest.java @@ -173,11 +173,11 @@ public void testGetBatchIps() { () -> assertNotNull(res1.getCountryName(), "country name should be set"), () -> assertNotNull(res1.getTimezone(), "timezone should be set"), () -> assertFalse(res1.getPrivacy().getProxy(), "proxy mismatch"), - () -> assertFalse(res1.getPrivacy().getVpn(), "VPN mismatch"), + () -> assertTrue(res1.getPrivacy().getVpn(), "VPN mismatch"), () -> assertFalse(res1.getPrivacy().getTor(), "Tor mismatch"), () -> assertFalse(res1.getPrivacy().getRelay(), "relay mismatch"), () -> assertTrue(res1.getPrivacy().getHosting(), "hosting mismatch"), - () -> assertEquals("", res1.getPrivacy().getService(), "service mismatch"), + () -> assertEquals("AngelVPN", res1.getPrivacy().getService(), "service mismatch"), () -> assertEquals(5, res1.getDomains().getDomains().size(), "domains size mismatch") );