From 2db2d4cf2f7c788b5384e184dad3e994e0a28dae Mon Sep 17 00:00:00 2001 From: alperozturk Date: Fri, 15 Nov 2024 09:55:31 +0100 Subject: [PATCH] Fix SS test Signed-off-by: alperozturk --- .../ui/fragment/OCFileListFragmentStaticServerIT.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt b/app/src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt index 90b6e5db6f..36df6af436 100644 --- a/app/src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt +++ b/app/src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt @@ -300,6 +300,14 @@ class OCFileListFragmentStaticServerIT : AbstractIT() { sut.storageManager.saveFile(this) } + OCFile("/offlineOperation/").apply { + mimeType = MimeType.DIRECTORY + decryptedRemotePath = "/offlineOperation/" + modificationTimestamp = System.currentTimeMillis() + parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId + sut.storageManager.saveFile(this) + } + sut.addFragment(fragment) shortSleep()