mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-17 20:29:34 -04:00
[db] support adding repos protected with basic auth
This commit is contained in:
committed by
Michael Pöhn
parent
413d9fcfba
commit
7d64492d92
@@ -132,12 +132,7 @@ internal class RepoManagerAddAllIntegrationTest {
|
||||
|
||||
private suspend fun addRepo(url: String) {
|
||||
log.info("Fetching $url")
|
||||
repoManager.fetchRepositoryPreview(
|
||||
url = url,
|
||||
username = null,
|
||||
password = null,
|
||||
proxy = null,
|
||||
)
|
||||
repoManager.fetchRepositoryPreview(url = url, proxy = null)
|
||||
repoManager.addRepoState.test(timeout = 15.seconds) {
|
||||
val fetchState = awaitFinalFetchState()
|
||||
if (fetchState is Fetching && fetchState.canAdd) {
|
||||
|
||||
Reference in New Issue
Block a user