Skip to content

Commit a51afa8

Browse files
committed
Fix tests failing cause of data change
1 parent 5b851e4 commit a51afa8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/io/ipinfo/IPinfoTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ public void testGetBatchIps() {
173173
() -> assertNotNull(res1.getCountryName(), "country name should be set"),
174174
() -> assertNotNull(res1.getTimezone(), "timezone should be set"),
175175
() -> assertFalse(res1.getPrivacy().getProxy(), "proxy mismatch"),
176-
() -> assertFalse(res1.getPrivacy().getVpn(), "VPN mismatch"),
176+
() -> assertTrue(res1.getPrivacy().getVpn(), "VPN mismatch"),
177177
() -> assertFalse(res1.getPrivacy().getTor(), "Tor mismatch"),
178178
() -> assertFalse(res1.getPrivacy().getRelay(), "relay mismatch"),
179179
() -> assertTrue(res1.getPrivacy().getHosting(), "hosting mismatch"),
180-
() -> assertEquals("", res1.getPrivacy().getService(), "service mismatch"),
180+
() -> assertEquals("AngelVPN", res1.getPrivacy().getService(), "service mismatch"),
181181
() -> assertEquals(5, res1.getDomains().getDomains().size(), "domains size mismatch")
182182
);
183183

0 commit comments

Comments
 (0)