Skip to content

Commit 78b2e95

Browse files
AitorbpJuancaG05
authored andcommitted
Fix from CR 2.2
1 parent 4ab9800 commit 78b2e95

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

owncloudData/src/main/java/com/owncloud/android/data/transfers/db/OCTransferEntity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ data class OCTransferEntity(
4646
val remotePath: String,
4747
val accountName: String,
4848
val fileSize: Long,
49-
var status: Int,
49+
val status: Int,
5050
val localBehaviour: Int,
5151
val forceOverwrite: Boolean,
5252
val transferEndTimestamp: Long? = null,

owncloudData/src/test/java/com/owncloud/android/data/shares/datasources/OCLocalShareDataSourceTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,4 @@ class OCLocalShareDataSourceTest {
329329

330330
verify(exactly = 1) { ocSharesDao.deleteSharesForAccount(OC_SHARE.accountOwner) }
331331
}
332-
333332
}

owncloudData/src/test/java/com/owncloud/android/data/transfers/implementation/OCLocalTransferDataSourceTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1919
*/
2020

21-
2221
package com.owncloud.android.data.transfers.implementation
2322

2423
import com.owncloud.android.data.transfers.datasources.implementation.OCLocalTransferDataSource

owncloudData/src/test/java/com/owncloud/android/data/user/datasources/OCLocalUserDataSourceTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ class OCLocalUserDataSourceTest {
104104

105105
every { ocUserQuotaDao.getAllUserQuotas() } returns listOf(userQuotaEntity)
106106

107-
108107
val resultActual = ocLocalUserDataSource.getAllUserQuotas()
109108

110109
assertEquals(listOf(userQuotaEntity.toModel()), resultActual)

0 commit comments

Comments
 (0)