mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-15 00:42:54 +01:00
sync: verify updates recreate pending origins
This commit is contained in:
@@ -2111,6 +2111,7 @@ class SyncServiceTest {
|
|||||||
insertSource()
|
insertSource()
|
||||||
val source = FakeMusicSource(artists = listOf(artist("a1")), albums = listOf(album("al1")), songs = listOf(song("s1")))
|
val source = FakeMusicSource(artists = listOf(artist("a1")), albums = listOf(album("al1")), songs = listOf(song("s1")))
|
||||||
SyncService(db, source).sync()
|
SyncService(db, source).sync()
|
||||||
|
db.queueDao().clearPendingSyncOrigins(1)
|
||||||
|
|
||||||
source.albums = listOf(album("al1").copy(name = "Changed"))
|
source.albums = listOf(album("al1").copy(name = "Changed"))
|
||||||
SyncService(db, source).sync()
|
SyncService(db, source).sync()
|
||||||
|
|||||||
Reference in New Issue
Block a user