Replace RequestDraft with plain Url

This commit is contained in:
Koitharu
2021-01-21 08:03:48 +02:00
parent 0c0214a85e
commit d85f23b320
13 changed files with 56 additions and 82 deletions

View File

@@ -82,7 +82,7 @@ class RemoteRepositoryTest(source: MangaSource) : KoinTest {
val pages = runBlocking { repo.getPages(details.chapters!!.random()) }
Assert.assertFalse(pages.isEmpty())
val page = pages.random()
val fullUrl = runBlocking { repo.getPageRequest(page) }
val fullUrl = runBlocking { repo.getPageUrl(page) }
AssertX.assertContentType(fullUrl, "image/*")
}