Repository Unit Tests #50

Merged
AmineB merged 38 commits from davidoskky/ReaderForSelfoss-multiplatform:repository_tests into master 2022-09-30 11:31:55 +00:00
Showing only changes of commit e2afff0b8e - Show all commits

View File

@ -456,6 +456,7 @@ class Repository(private val api: SelfossApi, private val appSettingsService: Ap
return emptyList()
}
AmineB marked this conversation as resolved Outdated

I think that the DB handles the duplicates.

I think that the DB handles the duplicates.

Does it use the id to check for duplicates? If that is the case then all is good.

Does it use the id to check for duplicates? If that is the case then all is good.
// TODO: Add tests
suspend fun handleDBActions() {
AmineB marked this conversation as resolved Outdated

This is useless.

This is useless.
val actions: List<ACTION> = getDBActions()