summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/test
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-03-31 15:59:21 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-04-01 11:15:05 +0200
commit7cf8e67c7978972dbc4ccf4c5bf9b830d6eef816 (patch)
tree1c89787c2a78f418c48255f8aad415a5440b27aa /android/app/src/test
parent548e1b955ff2e3a3a2ac530ea180e3f6c30248b5 (diff)
downloadmullvadvpn-7cf8e67c7978972dbc4ccf4c5bf9b830d6eef816.tar.xz
mullvadvpn-7cf8e67c7978972dbc4ccf4c5bf9b830d6eef816.zip
Set select location to always open on the exit tab
Diffstat (limited to 'android/app/src/test')
-rw-r--r--android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt
index 77a5e948eb..c79d158f82 100644
--- a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt
+++ b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt
@@ -34,7 +34,6 @@ import net.mullvad.mullvadvpn.relaylist.descendants
import net.mullvad.mullvadvpn.repository.CustomListsRepository
import net.mullvad.mullvadvpn.repository.RelayListFilterRepository
import net.mullvad.mullvadvpn.repository.RelayListRepository
-import net.mullvad.mullvadvpn.repository.SettingsRepository
import net.mullvad.mullvadvpn.repository.WireguardConstraintsRepository
import net.mullvad.mullvadvpn.usecase.FilterChip
import net.mullvad.mullvadvpn.usecase.FilterChipUseCase
@@ -54,7 +53,6 @@ class SelectLocationViewModelTest {
private val mockCustomListsRepository: CustomListsRepository = mockk()
private val mockWireguardConstraintsRepository: WireguardConstraintsRepository = mockk()
private val mockFilterChipUseCase: FilterChipUseCase = mockk()
- private val mocksSettingsRepository: SettingsRepository = mockk()
private lateinit var viewModel: SelectLocationViewModel
@@ -69,7 +67,6 @@ class SelectLocationViewModelTest {
every { mockWireguardConstraintsRepository.wireguardConstraints } returns
wireguardConstraints
every { mockFilterChipUseCase(any()) } returns filterChips
- every { mocksSettingsRepository.settingsUpdates } returns MutableStateFlow(null)
mockkStatic(RELAY_LIST_EXTENSIONS)
mockkStatic(RELAY_ITEM_EXTENSIONS)
@@ -82,7 +79,6 @@ class SelectLocationViewModelTest {
customListsRepository = mockCustomListsRepository,
filterChipUseCase = mockFilterChipUseCase,
wireguardConstraintsRepository = mockWireguardConstraintsRepository,
- settingsRepository = mocksSettingsRepository,
)
}