Skip to content

Commit 5c583b0

Browse files
committed
DEVX-714: updating test example to fix javadoc parser
1 parent 07add82 commit 5c583b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commercetools/internal-docs/src/test/java/example/ExamplesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public void graphQLAllOrders() {
391391
String lastId = null;
392392
while (limitNotReached) {
393393
GraphQLRequestBuilder<OrderQueryResult> orderBuilder = GraphQL
394-
.query("query getOrders { " + "orders (limit: " + limit + ") {" + "results {id}}}")
394+
.query(String.format("query getOrders { orders (limit: %d) {results {id}}}", limit))
395395
.dataMapper(GraphQLData::getOrders);
396396

397397
if (lastId != null) {

0 commit comments

Comments
 (0)