Skip to content

Commit e09ab86

Browse files
Fix test
1 parent a465c56 commit e09ab86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/integrationTest/java/co/ipregistry/api/client/integration/IpregistryClientIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void testSingleLookup_Domain() throws ApiException, ClientException {
147147
final IpregistryClient client = new IpregistryClient(apiKey);
148148
final IpInfo ipInfo = client.lookup("37.173.153.166");
149149

150-
Assertions.assertEquals(ipInfo.getConnection().getDomain(), "mobile.free.fr");
150+
Assertions.assertNotNull(ipInfo.getConnection().getDomain());
151151
}
152152

153153
@Test

src/main/java/co/ipregistry/api/client/exceptions/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ public ApiException(final String errorCode, final String message, final String r
3535
this.resolution = resolution;
3636
}
3737

38-
}
38+
}

0 commit comments

Comments
 (0)