diff options
| author | David Göransson <david.goransson@mullvad.net> | 2024-10-07 08:35:21 +0200 |
|---|---|---|
| committer | David Göransson <david.goransson@mullvad.net> | 2024-10-07 08:35:21 +0200 |
| commit | efbefb1b7df99fd6192e5031c6b2a0c57a9d0675 (patch) | |
| tree | 5b5d00686dd2e4241d99aefb1d80ab2035b8ff81 /android/app/src/androidTest | |
| parent | 6462dd1d00ea924d99deb27b1741e76e88045ec2 (diff) | |
| parent | cd084f800055a344262e5100d24ebeb500860e83 (diff) | |
| download | mullvadvpn-efbefb1b7df99fd6192e5031c6b2a0c57a9d0675.tar.xz mullvadvpn-efbefb1b7df99fd6192e5031c6b2a0c57a9d0675.zip | |
Merge branch 'ensure-we-update-inappaccountexpiry-notification-droid-1348'
Diffstat (limited to 'android/app/src/androidTest')
| -rw-r--r-- | android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ConnectScreenTest.kt | 11 |
1 files changed, 9 insertions, 2 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 1ae19c534a..f55e07c1cf 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 @@ -29,6 +29,7 @@ import net.mullvad.mullvadvpn.lib.model.TunnelState import net.mullvad.mullvadvpn.repository.InAppNotification import net.mullvad.mullvadvpn.ui.VersionInfo import org.joda.time.DateTime +import org.joda.time.Duration import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test @@ -570,7 +571,10 @@ class ConnectScreenTest { showLocation = false, deviceName = "", daysLeftUntilExpiry = null, - inAppNotification = InAppNotification.AccountExpiry(expiryDate), + inAppNotification = + InAppNotification.AccountExpiry( + Duration(DateTime.now(), expiryDate) + ), isPlayBuild = false, ) ) @@ -630,7 +634,10 @@ class ConnectScreenTest { showLocation = false, deviceName = "", daysLeftUntilExpiry = null, - inAppNotification = InAppNotification.AccountExpiry(expiryDate), + inAppNotification = + InAppNotification.AccountExpiry( + Duration(DateTime.now(), expiryDate) + ), isPlayBuild = false, ), ) |
