sync: verify updates recreate pending origins

This commit is contained in:
austinried
2026-11-14 12:05:28 +00:00
parent 4e51f906fe
commit 2afad4fa0d
@@ -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()