diff --git a/owncloudData/src/test/java/com/owncloud/android/data/files/repository/OCFileRepositoryTest.kt b/owncloudData/src/test/java/com/owncloud/android/data/files/repository/OCFileRepositoryTest.kt index 3c6772ce682..f63a53c41aa 100644 --- a/owncloudData/src/test/java/com/owncloud/android/data/files/repository/OCFileRepositoryTest.kt +++ b/owncloudData/src/test/java/com/owncloud/android/data/files/repository/OCFileRepositoryTest.kt @@ -99,12 +99,6 @@ class OCFileRepositoryTest { @Test fun `createFolder creates a new folder and saves it`() { - every { - localSpacesDataSource.getWebDavUrlForSpace( - spaceId = OC_PARENT_FOLDER_WITH_SPACE_ID.spaceId, - accountName = OC_PARENT_FOLDER_WITH_SPACE_ID.owner - ) - } returns OC_SPACE_PERSONAL.root.webDavUrl // The result of this method is not used, so it can be anything every { localFileDataSource.saveFilesInFolderAndReturnTheFilesThatChanged(any(), any()) } returns emptyList()