Skip to content

Commit 035357e

Browse files
Fix test
1 parent 5e7fd36 commit 035357e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/co/ipregistry/api/client/request/DefaultRequestHandlerTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ void testBuildApiUrl_optionsEncoded() {
2828
final IpregistryConfig config =
2929
IpregistryConfig.builder().apiKey("test").build();
3030
final DefaultRequestHandler requestHandler =
31-
new DefaultRequestHandler(
32-
config);
31+
new DefaultRequestHandler(config);
3332
final String url =
3433
requestHandler.buildApiUrl(
3534
"8.8.8.8", new IpregistryOption("test", "[test]"));
36-
Assertions.assertEquals(config.getApiUrl() + "/8.8.8.8?key=test&test=%5Btest%5D", url);
35+
Assertions.assertEquals(config.getApiUrl() + "/8.8.8.8?test=%5Btest%5D", url);
3736
}
3837

3938
}

0 commit comments

Comments
 (0)