Skip to content

Commit 555b31f

Browse files
committed
KtLint fixes
1 parent 36d3989 commit 555b31f

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

owncloudData/src/test/java/com/owncloud/android/data/appregistry/datasources/implementation/OCLocalAppRegistryDataSourceTest.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ class OCLocalAppRegistryDataSourceTest {
116116

117117
ocLocalAppRegistryDataSource.saveAppRegistryForAccount(appRegistry)
118118

119-
verify(exactly = 1) { appRegistryDao.deleteAppRegistryForAccount(appRegistry.accountName) }
120-
verify(exactly = 1) { appRegistryDao.upsertAppRegistries(listOf(OC_APP_REGISTRY_ENTITY, OC_APP_REGISTRY_ENTITY.copy(name = "appRegistryMimeTypes.name2"))) }
119+
verify(exactly = 1) {
120+
appRegistryDao.deleteAppRegistryForAccount(appRegistry.accountName)
121+
appRegistryDao.upsertAppRegistries(listOf(OC_APP_REGISTRY_ENTITY, OC_APP_REGISTRY_ENTITY.copy(name = "appRegistryMimeTypes.name2")))
122+
}
121123
}
122124

123125
@Test

owncloudData/src/test/java/com/owncloud/android/data/files/datasources/implementation/OCLocalFileDataSourceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class OCLocalFileDataSourceTest {
361361

362362
@Test
363363
fun `getSharedByLinkWithSyncInfoForAccountAsFlow returns a Flow with a list of OCFileWithSyncInfo`() = runTest {
364-
val fileAndFileSyncEntitySharedByLink = OC_FILE_AND_FILE_SYNC.copy(file = OC_FILE_ENTITY.copy(sharedByLink = true).apply { this.id = OC_FILE_ENTITY.id } )
364+
val fileAndFileSyncEntitySharedByLink = OC_FILE_AND_FILE_SYNC.copy(file = OC_FILE_ENTITY.copy(sharedByLink = true).apply { this.id = OC_FILE_ENTITY.id })
365365

366366
val fileWithSyncInfoSharedByLink = OC_FILE_WITH_SYNC_INFO_AND_SPACE.copy(file = OC_FILE.copy(sharedByLink = true))
367367

owncloudData/src/test/java/com/owncloud/android/data/files/datasources/implementation/OCRemoteFileDataSourceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class OCRemoteFileDataSourceTest {
232232
verify(exactly = 2) { clientManager.getFileService(OC_ACCOUNT_NAME) }
233233
verify(exactly = 1) {
234234
ocFileService.checkPathExistence(remotePath , true)
235-
ocFileService.checkPathExistence(finalRemotePath, true)
235+
ocFileService.checkPathExistence(finalRemotePath, true)
236236
}
237237
}
238238

0 commit comments

Comments
 (0)