diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogDialogTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogDialogTest.kt index b990a0e5ad19..f4003d1f07c1 100644 --- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogDialogTest.kt +++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogDialogTest.kt @@ -14,7 +14,6 @@ import net.mullvad.mullvadvpn.compose.dialog.ChangelogDialog import net.mullvad.mullvadvpn.compose.setContentWithTheme import net.mullvad.mullvadvpn.viewmodel.Changelog import net.mullvad.mullvadvpn.viewmodel.ChangelogViewModel -import net.mullvad.mullvadvpn.viewmodel.MullvadAppViewModel import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension diff --git a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/MullvadAppViewModelTest.kt b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/MullvadAppViewModelTest.kt index c803246b08fa..8e5af38a7c16 100644 --- a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/MullvadAppViewModelTest.kt +++ b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/MullvadAppViewModelTest.kt @@ -61,7 +61,8 @@ class MullvadAppViewModelTest { version every { mockedChangelogRepository.getLastVersionChanges() } returns changes - viewModel = MullvadAppViewModel(mockedChangelogRepository, connectionProxy, buildVersion, false) + viewModel = + MullvadAppViewModel(mockedChangelogRepository, connectionProxy, buildVersion, false) // Given a new version with a change log we should return it viewModel.uiSideEffect.test { assertEquals(awaitItem(), Changelog(version = buildVersion.name, changes = changes)) @@ -74,7 +75,8 @@ class MullvadAppViewModelTest { every { mockedChangelogRepository.getVersionCodeOfMostRecentChangelogShowed() } returns -1 every { mockedChangelogRepository.getLastVersionChanges() } returns emptyList() - viewModel = MullvadAppViewModel(mockedChangelogRepository, connectionProxy, buildVersion, false) + viewModel = + MullvadAppViewModel(mockedChangelogRepository, connectionProxy, buildVersion, false) // Given a new version with a change log we should not return it viewModel.uiSideEffect.test { expectNoEvents() } }