diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java index 7de5d9f219..dd0f6ef2c4 100644 --- a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java +++ b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java @@ -62,7 +62,7 @@ public class SftpInboundRemoteFileSystemSynchronizerTests { when(sessionPoll.getSession()).thenReturn(sftpSession); ChannelSftp channel = mock(ChannelSftp.class); - when(channel.get((String) Mockito.any())).thenReturn(new FileInputStream(new File(".classpath"))); + when(channel.get((String) Mockito.any())).thenReturn(new FileInputStream(new File(".template.mf"))); when(sftpSession.getChannel()).thenReturn(channel); Vector entries = new Vector(); LsEntry entry = mock(LsEntry.class);