mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-07 15:34:50 -04:00
[db] New repos now get lower weight than older ones
so they do not override the information from older repos anymore. This is especially an issue for the official repo which historically had the lowest priority while it should have the highest.
This commit is contained in:
@@ -100,7 +100,7 @@ internal class RepoAdderTest {
|
||||
val userManager = mockk<UserManager>()
|
||||
val repoAdder = RepoAdder(context, db, tempFileProvider, downloaderFactory, httpManager)
|
||||
|
||||
every { context.getSystemService("user") } returns userManager
|
||||
every { context.getSystemService(UserManager::class.java) } returns userManager
|
||||
every {
|
||||
userManager.hasUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES)
|
||||
} returns true
|
||||
|
||||
Reference in New Issue
Block a user