From 46120dff6061689256cd185bbc8b925254de9d9b Mon Sep 17 00:00:00 2001 From: alperozturk Date: Thu, 19 Sep 2024 17:42:16 +0200 Subject: [PATCH] fix kt spotless check Signed-off-by: alperozturk --- .../java/com/nextcloud/utils/AutoRenameTests.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt b/app/src/androidTest/java/com/nextcloud/utils/AutoRenameTests.kt index 188b6a5e44..a85e47f59b 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" } - } - }