Fix three tests.
This commit is contained in:
parent
152b1d261a
commit
5b03b632fd
|
@ -62,7 +62,7 @@ class APIAlbumConverterTest {
|
|||
fun `Should convert list of Album entities to domain list entities`() {
|
||||
val entityList = listOf(Album(id = "455"), Album(id = "1"), Album(id = "1000"))
|
||||
|
||||
val convertedList = entityList.toDomainEntityList(ActiveServerProvider.getActiveServerId())
|
||||
val convertedList = entityList.toDomainEntityList(serverId)
|
||||
|
||||
with(convertedList) {
|
||||
size `should be equal to` entityList.size
|
||||
|
|
|
@ -21,7 +21,7 @@ class APIMusicDirectoryConverterTest : BaseTest() {
|
|||
childList = listOf(MusicDirectoryChild("1"), MusicDirectoryChild("2"))
|
||||
)
|
||||
|
||||
val convertedEntity = entity.toDomainEntity(ActiveServerProvider.getActiveServerId())
|
||||
val convertedEntity = entity.toDomainEntity(serverId)
|
||||
|
||||
with(convertedEntity) {
|
||||
name `should be equal to` entity.name
|
||||
|
|
|
@ -47,7 +47,7 @@ class APISearchConverterTest : BaseTest() {
|
|||
listOf(MusicDirectoryChild(id = "9118", parent = "112"))
|
||||
)
|
||||
|
||||
val convertedEntity = entity.toDomainEntity(ActiveServerProvider.getActiveServerId())
|
||||
val convertedEntity = entity.toDomainEntity(serverId)
|
||||
|
||||
with(convertedEntity) {
|
||||
artists.size `should be equal to` entity.artistList.size
|
||||
|
|
Loading…
Reference in New Issue