Skip to content

Commit 5da521f

Browse files
committed
More fixes for SftpRemoteFileTemplateTests
1 parent 55d1478 commit 5da521f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-integration-sftp/src/test/java/org/springframework/integration/sftp/session/SftpRemoteFileTemplateTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2022 the original author or authors.
2+
* Copyright 2014-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -77,8 +77,8 @@ public void testINT3412AppendStatRmdir() {
7777
template.afterPropertiesSet();
7878

7979
template.execute(session -> {
80-
session.mkdir("/foo/");
81-
return session.mkdir("/foo/bar/");
80+
session.mkdir("/foo");
81+
return session.mkdir("/foo/bar");
8282
});
8383
template.append(new GenericMessage<>("foo"));
8484
template.append(new GenericMessage<>("bar"));
@@ -93,7 +93,7 @@ public void testINT3412AppendStatRmdir() {
9393
}
9494
});
9595
template.execute((SessionCallbackWithoutResult<SftpClient.DirEntry>) session -> {
96-
SftpClient.DirEntry[] files = session.list("/foo/");
96+
SftpClient.DirEntry[] files = session.list("/foo");
9797
assertThat(files.length).isEqualTo(4);
9898
assertThat(session.remove("/foo/foobar.txt")).isTrue();
9999
assertThat(session.rmdir("/foo/bar/")).isTrue();

0 commit comments

Comments
 (0)