mirror of https://github.com/apache/nifi.git
NIFI-13751 Upgraded SSHJ from 0.38.0 to 0.39.0 (#9266)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
6e308f2cf1
commit
00c7a78119
|
@ -33,6 +33,7 @@ import org.apache.nifi.processor.util.file.transfer.FileTransfer;
|
|||
import org.apache.nifi.util.MockFlowFile;
|
||||
import org.apache.nifi.util.MockPropertyValue;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.ArgumentMatchers;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -262,7 +263,7 @@ public class TestSFTPTransfer {
|
|||
when(processContext.getProperty(eq(FileTransfer.REMOTE_PATH))).thenReturn(new MockPropertyValue("."));
|
||||
|
||||
try (SFTPClient sftpClient = mock(SFTPClient.class)) {
|
||||
when(sftpClient.ls(any(), any())).then(invocation -> {
|
||||
when(sftpClient.ls(any(), ArgumentMatchers.<RemoteResourceFilter>any())).then(invocation -> {
|
||||
final Map<String, String> extended = new LinkedHashMap<>();
|
||||
final List<RemoteResourceInfo> list = new ArrayList<>();
|
||||
list.add(new RemoteResourceInfo(
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<dependency>
|
||||
<groupId>com.hierynomus</groupId>
|
||||
<artifactId>sshj</artifactId>
|
||||
<version>0.38.0</version>
|
||||
<version>0.39.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.activation</groupId>
|
||||
|
|
Loading…
Reference in New Issue