Skip to content

Commit a26712b

Browse files
committed
Actually return the correct upload data for testing
1 parent bde20ca commit a26712b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vertx-core/src/test/java/io/vertx/tests/http/fileupload/HttpClientFileUploadTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ private List<Upload> testFileUploadFormMultipart(
312312
});
313313
req.endHandler(v -> {
314314
req.response().end();
315+
checker.accept(req);
315316
});
316317
});
317318
startServer();
@@ -323,7 +324,7 @@ private List<Upload> testFileUploadFormMultipart(
323324
.compose(HttpClientResponse::body))
324325
.await();
325326

326-
return toUpload;
327+
return uploads;
327328
}
328329

329330
static class Upload {

0 commit comments

Comments
 (0)