summaryrefslogtreecommitdiffhomepage
path: root/android/app
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2024-12-02 10:48:15 +0100
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2024-12-02 11:05:06 +0100
commitd81df8dca2688f6501a2863142fa73987ce0be2f (patch)
tree3ab384fc47416e3d5fb8eb5d393ef904d01e18f1 /android/app
parentef10b493288fc1202f752aeabeaeec0c86e4e1e3 (diff)
downloadmullvadvpn-d81df8dca2688f6501a2863142fa73987ce0be2f.tar.xz
mullvadvpn-d81df8dca2688f6501a2863142fa73987ce0be2f.zip
Update screen tests
Diffstat (limited to 'android/app')
-rw-r--r--android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreenTest.kt2
-rw-r--r--android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/location/SelectLocationScreenTest.kt10
2 files changed, 7 insertions, 5 deletions
diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreenTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreenTest.kt
index e691909a40..464fa1181a 100644
--- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreenTest.kt
+++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreenTest.kt
@@ -34,6 +34,7 @@ class SettingsScreenTest {
isSupportedVersion = true,
isPlayBuild = false,
multihopEnabled = false,
+ isDaitaEnabled = false,
)
)
}
@@ -58,6 +59,7 @@ class SettingsScreenTest {
isSupportedVersion = true,
isPlayBuild = false,
multihopEnabled = false,
+ isDaitaEnabled = false,
)
)
}
diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/location/SelectLocationScreenTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/location/SelectLocationScreenTest.kt
index a154344f26..cf3380e97a 100644
--- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/location/SelectLocationScreenTest.kt
+++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/location/SelectLocationScreenTest.kt
@@ -64,7 +64,7 @@ class SelectLocationScreenTest {
setContentWithTheme {
SelectLocationScreen(
state =
- SelectLocationUiState(
+ SelectLocationUiState.Data(
// searchTerm = "",
filterChips = emptyList(),
multihopEnabled = false,
@@ -96,7 +96,7 @@ class SelectLocationScreenTest {
setContentWithTheme {
SelectLocationScreen(
state =
- SelectLocationUiState(
+ SelectLocationUiState.Data(
filterChips = emptyList(),
multihopEnabled = false,
relayListType = RelayListType.EXIT,
@@ -124,7 +124,7 @@ class SelectLocationScreenTest {
setContentWithTheme {
SelectLocationScreen(
state =
- SelectLocationUiState(
+ SelectLocationUiState.Data(
filterChips = emptyList(),
multihopEnabled = false,
relayListType = RelayListType.EXIT,
@@ -156,7 +156,7 @@ class SelectLocationScreenTest {
setContentWithTheme {
SelectLocationScreen(
state =
- SelectLocationUiState(
+ SelectLocationUiState.Data(
// searchTerm = "",
filterChips = emptyList(),
multihopEnabled = false,
@@ -189,7 +189,7 @@ class SelectLocationScreenTest {
setContentWithTheme {
SelectLocationScreen(
state =
- SelectLocationUiState(
+ SelectLocationUiState.Data(
filterChips = emptyList(),
multihopEnabled = false,
relayListType = RelayListType.EXIT,