Remove unused Repository.canAdd and Repository.isMirror functions

This commit is contained in:
Thore Goebel
2024-05-01 20:27:41 +02:00
parent 199f9b6c52
commit a26d5fe727
3 changed files with 15 additions and 37 deletions

View File

@@ -135,7 +135,7 @@ internal class RepoManagerAddAllIntegrationTest {
repoManager.fetchRepositoryPreview(url = url, proxy = null)
repoManager.addRepoState.test(timeout = 15.seconds) {
val fetchState = awaitFinalFetchState()
if (fetchState is Fetching && fetchState.canAdd) {
if (fetchState is Fetching && fetchState.fetchResult != null) {
repoManager.addFetchedRepository()
val item = awaitItem()
if (item is Adding) {