Fix update remote tests

This commit is contained in:
davidoskky committed 2022-09-29 18:58:00 +02:00
1 parent d311c2cdeb
commit 7211fdb1a3
2 files changed
+17 -3

No files matched your search

@@ -352,7 +352,7 @@ class Repository(private val api: SelfossApi, private val appSettingsService: Ap
suspend fun updateRemote(): Boolean {
return if (isNetworkAvailable()) {
api.update().equals("finished")
api.update().data.equals("finished")
} else {
false
}