get sources tests
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
2022-09-18 18:14:14 +02:00
parent 758708e18d
commit ef994460c1
2 changed files with 107 additions and 4 deletions

View File

@ -148,6 +148,7 @@ class Repository(private val api: SelfossApi, private val appSettingsService: Ap
}
}
// TODO: Add tests
suspend fun getSpouts(): Map<String, SelfossModel.Spout>? {
return if (isNetworkAvailable()) {
api.spouts()