mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
persist artwork seeds in the database
This commit is contained in:
@@ -55,9 +55,10 @@ class ArtworkExtractionTest {
|
||||
|
||||
@Test
|
||||
fun resolvesColorsFromCoverArt() {
|
||||
val ref = CoverArtRef(url = "art", cacheKey = "art-${System.nanoTime()}")
|
||||
var colors: ArtworkColors? = null
|
||||
composeRule.setContent {
|
||||
colors = rememberArtworkColors(CoverArtRef(url = "art", cacheKey = "art"))
|
||||
colors = rememberArtworkColors(ref)
|
||||
}
|
||||
composeRule.waitUntil(timeoutMillis = 5_000) { colors != null }
|
||||
assertNotNull(colors)
|
||||
|
||||
Reference in New Issue
Block a user