fix tests

This commit is contained in:
Eduard Tihomiorv 2025-10-08 13:33:44 +03:00
parent 4a06ed62a0
commit 865acb100e

View file

@ -269,7 +269,7 @@ class DownloadServiceTest {
// Reflection-based invocation of private methods for testing
private File invokeWriteResultsToCsv(List<Map<String, Object>> results) throws Exception {
java.lang.reflect.Method method = DownloadService.class.getDeclaredMethod(
"writeResultsToCsv", List.class);
"writeResultsToCsv", List.class, int.class);
method.setAccessible(true);
return (File) method.invoke(downloadService, results, 600000);
}