From acc20c02fb5b648d735e74500beb1e7d435d4346 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Fri, 12 Nov 2010 16:44:57 -0500 Subject: [PATCH] INT-1555 fixing broken test --- .../inbound/SftpInboundRemoteFileSystemSynchronizerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);