Fix tests
This commit is contained in:
@@ -85,7 +85,7 @@ class Tracker @Inject constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
suspend fun checkUpdates(manga: Manga, commit: Boolean): MangaUpdates {
|
suspend fun checkUpdates(manga: Manga, commit: Boolean): MangaUpdates.Success {
|
||||||
val track = repository.getTrack(manga)
|
val track = repository.getTrack(manga)
|
||||||
val updates = compare(track, manga, getBranch(manga))
|
val updates = compare(track, manga, getBranch(manga))
|
||||||
if (commit) {
|
if (commit) {
|
||||||
|
|||||||
Reference in New Issue
Block a user