diff options
| author | David Göransson <david.goransson@mullvad.net> | 2025-04-01 11:15:21 +0200 |
|---|---|---|
| committer | David Göransson <david.goransson@mullvad.net> | 2025-04-01 11:15:21 +0200 |
| commit | b7fa141e4196a6e682998ba94143e2663867914d (patch) | |
| tree | 1c89787c2a78f418c48255f8aad415a5440b27aa /android/app/src/test | |
| parent | 548e1b955ff2e3a3a2ac530ea180e3f6c30248b5 (diff) | |
| parent | 7cf8e67c7978972dbc4ccf4c5bf9b830d6eef816 (diff) | |
| download | mullvadvpn-b7fa141e4196a6e682998ba94143e2663867914d.tar.xz mullvadvpn-b7fa141e4196a6e682998ba94143e2663867914d.zip | |
Merge branch 'open-exit-list-when-switching-location-while-multihop-droid-1902'
Diffstat (limited to 'android/app/src/test')
| -rw-r--r-- | android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/location/SelectLocationViewModelTest.kt | 4 |
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, ) } |
