Taste-profile fidelity (M160) + Songs-like row + home polish #109
@@ -71,7 +71,7 @@ class BuildPlaylistsRowTest {
|
|||||||
val owned = listOf(songsLike("a", cached = true), user("u1", cached = true))
|
val owned = listOf(songsLike("a", cached = true), user("u1", cached = true))
|
||||||
val row = buildPlaylistsRow(owned, SystemPlaylistsStatus(), offline = false)
|
val row = buildPlaylistsRow(owned, SystemPlaylistsStatus(), offline = false)
|
||||||
val reals = row.filterIsInstance<PlaylistRowItem.Real>().map { it.playlist.id }
|
val reals = row.filterIsInstance<PlaylistRowItem.Real>().map { it.playlist.id }
|
||||||
assertTrue("a" !in reals) { "songs-like mix leaked into the Playlists row: $reals" }
|
assertTrue("a" !in reals, "songs-like mix leaked into the Playlists row: $reals")
|
||||||
assertTrue("u1" in reals)
|
assertTrue("u1" in reals)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user