INT-1555 fixing broken test again

This commit is contained in:
Oleg Zhurakousky
2010-11-12 16:52:11 -05:00
parent acc20c02fb
commit a3a0d71750

View File

@@ -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(".template.mf")));
when(channel.get((String) Mockito.any())).thenReturn(new FileInputStream(new File("template.mf")));
when(sftpSession.getChannel()).thenReturn(channel);
Vector<LsEntry> entries = new Vector<ChannelSftp.LsEntry>();
LsEntry entry = mock(LsEntry.class);