Skip to content

Commit 3d0091f

Browse files
committed
Update tests.
1 parent 8dd5527 commit 3d0091f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

kilo-test/src/test/java/org/httprpc/kilo/test/DocumentationTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ private void testDocumentation(String name) throws IOException {
4242
expected = (Map<?, ?>)jsonDecoder.read(inputStream);
4343
}
4444

45-
var webServiceProxy = new WebServiceProxy("GET", baseURI.resolve(name));
46-
47-
webServiceProxy.setArguments(mapOf(
48-
entry("api", "json")
49-
));
45+
var webServiceProxy = new WebServiceProxy("GET", baseURI.resolve(String.format("%s?api", name)));
5046

5147
webServiceProxy.setHeaders(mapOf(
5248
entry("Accept", "application/json")

0 commit comments

Comments
 (0)