mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
#3810 Convert DepictedImagesFragment to use Pagination - align test with returned values
This commit is contained in:
parent
48b3002d05
commit
6b3a19c92e
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class MediaClientTest {
|
||||||
|
|
||||||
`when`(mediaInterface!!.getMedia(ArgumentMatchers.anyString()))
|
`when`(mediaInterface!!.getMedia(ArgumentMatchers.anyString()))
|
||||||
.thenReturn(Single.just(mockResponse))
|
.thenReturn(Single.just(mockResponse))
|
||||||
mediaClient!!.getMedia("abcde").test().assertErrorMessage("empty list passed for ids")
|
mediaClient!!.getMedia("abcde").test().assertErrorMessage("List is empty.")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue