mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 17:34:39 -05:00
Fix SearchTest
This commit is contained in:
@@ -41,12 +41,11 @@ class SearchTest : ApplicationTest() {
|
||||
) : StubSource(id) {
|
||||
var mangas: List<SManga> = emptyList()
|
||||
|
||||
@Deprecated("Use the non-RxJava API instead", replaceWith = ReplaceWith("getSearchManga"))
|
||||
override fun fetchSearchManga(
|
||||
override suspend fun getSearchManga(
|
||||
page: Int,
|
||||
query: String,
|
||||
filters: FilterList,
|
||||
): Observable<MangasPage> = Observable.just(MangasPage(mangas, false))
|
||||
): MangasPage = MangasPage(mangas, false)
|
||||
}
|
||||
|
||||
private val sourceId = 1L
|
||||
|
||||
Reference in New Issue
Block a user