fix tests
This commit is contained in:
parent
4a06ed62a0
commit
865acb100e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue