Fix testCreationAndUploadTimestamp

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2023-10-11 10:58:21 +02:00
parent e56ab6d4c6
commit cd54020d75
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -426,7 +426,9 @@ public class UploadIT extends AbstractOnServerIT {
}
@Test
public void testCreationAndUploadTimestamp() throws IOException {
public void testCreationAndUploadTimestamp() throws IOException, AccountUtils.AccountNotFoundException {
testOnlyOnServer(NextcloudVersion.nextcloud_27);
File file = getDummyFile("empty.txt");
String remotePath = "/testFile.txt";
OCUpload ocUpload = new OCUpload(file.getAbsolutePath(), remotePath, account.name);