summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/androidTest
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-07-21 16:50:17 +0200
committerAlbin <albin@mullvad.net>2023-07-21 16:50:26 +0200
commit92ba51950dd8f80e7f8f5c16806639b713061e5d (patch)
tree75f2179966fc43d3b749ac32429e59a7555f7a18 /android/app/src/androidTest
parent926ab0c2d3efc3d7f7be4876fd7c4201b3130c81 (diff)
downloadmullvadvpn-92ba51950dd8f80e7f8f5c16806639b713061e5d.tar.xz
mullvadvpn-92ba51950dd8f80e7f8f5c16806639b713061e5d.zip
Update location info test
Diffstat (limited to 'android/app/src/androidTest')
-rw-r--r--android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt
index 48671136e0..9d64b2d395 100644
--- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt
+++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt
@@ -516,11 +516,12 @@ class ConnectScreenTest {
fun testToggleTunnelInfo() {
// Arrange
val mockedClickHandler: () -> Unit = mockk(relaxed = true)
+ val dummyLocation = GeoIpLocation(null, null, "dummy country", null, "dummy hostname")
composeTestRule.setContent {
ConnectScreen(
uiState =
ConnectUiState(
- location = null,
+ location = dummyLocation,
relayLocation = null,
versionInfo = null,
tunnelUiState = TunnelState.Connecting(null, null),