Update a test to reflect new arguments
This commit is contained in:
parent
92fe7359ff
commit
f8efb6d592
|
@ -11,9 +11,11 @@ class RequestCreatorTest {
|
|||
@Test
|
||||
fun `Should create valid load cover art request`() {
|
||||
val entityId = "299"
|
||||
val expectedUri = Uri.parse("$SCHEME://$AUTHORITY/$COVER_ART_PATH?$QUERY_ID=$entityId")
|
||||
val size = 100L
|
||||
val expectedUri =
|
||||
Uri.parse("$SCHEME://$AUTHORITY/$COVER_ART_PATH?$QUERY_ID=$entityId&$SIZE=$size")
|
||||
|
||||
createLoadCoverArtRequest(entityId).compareTo(expectedUri).shouldBeEqualTo(0)
|
||||
createLoadCoverArtRequest(entityId, size).compareTo(expectedUri).shouldBeEqualTo(0)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue