We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e7fd36 commit 035357eCopy full SHA for 035357e
src/test/java/co/ipregistry/api/client/request/DefaultRequestHandlerTest.java
@@ -28,12 +28,11 @@ void testBuildApiUrl_optionsEncoded() {
28
final IpregistryConfig config =
29
IpregistryConfig.builder().apiKey("test").build();
30
final DefaultRequestHandler requestHandler =
31
- new DefaultRequestHandler(
32
- config);
+ new DefaultRequestHandler(config);
33
final String url =
34
requestHandler.buildApiUrl(
35
"8.8.8.8", new IpregistryOption("test", "[test]"));
36
- Assertions.assertEquals(config.getApiUrl() + "/8.8.8.8?key=test&test=%5Btest%5D", url);
+ Assertions.assertEquals(config.getApiUrl() + "/8.8.8.8?test=%5Btest%5D", url);
37
}
38
39
0 commit comments