diff --git a/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt b/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt index 188b6a5e440c..a85e47f59b74 100644 --- a/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt +++ b/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt @@ -156,13 +156,4 @@ class AutoRenameTests : AbstractOnServerIT() { val expectedFilename = "filena_me.txt" assert(result == expectedFilename) { "Expected $expectedFilename but got $result" } } - - @Test - fun testFolderPathWithAccountAndServerName() { - val folderPath = "/storage/emulated/0/Android/media/com.nextcloud.client/nextcloud/user1@wcf.ltd3.nextcloud.com/e2e/04f9f38aeb834d2890735e40bdbb82fa/gos/ 268" - val result = AutoRename.rename(folderPath, capability, true) - val expectedFilename = "/storage/emulated/0/Android/media/com.nextcloud.client/nextcloud/user1@wcf.ltd3.nextcloud.com/e2e/04f9f38aeb834d2890735e40bdbb82fa/gos/268" - assert(result == expectedFilename) { "Expected $expectedFilename but got $result" } - } - }