Skip to content

Commit a2faf56

Browse files
committed
Skip checksum validation for multifile downloads where no checksum is provided
1 parent 2605715 commit a2faf56

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

src/test/java/io/github/jpmorganchase/fusion/FusionTest.java

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -285,24 +285,12 @@ public void testFileDownloadWithSkipsChecksumValidationWhenMissing() throws Exce
285285

286286
doNothing()
287287
.when(apiManager)
288-
.callAPIFileDownload(
289-
anyString(),
290-
anyString(),
291-
anyString(),
292-
anyString(),
293-
anyMap(),
294-
eq(true));
288+
.callAPIFileDownload(anyString(), anyString(), anyString(), anyString(), anyMap(), eq(true));
295289

296290
f.download("common", "sample_dataset", "20230308", "csv", TMP_PATH);
297291

298292
verify(apiManager)
299-
.callAPIFileDownload(
300-
anyString(),
301-
anyString(),
302-
eq("common"),
303-
eq("sample_dataset"),
304-
anyMap(),
305-
eq(true));
293+
.callAPIFileDownload(anyString(), anyString(), eq("common"), eq("sample_dataset"), anyMap(), eq(true));
306294
}
307295

308296
@Test

0 commit comments

Comments
 (0)