diff --git a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/CreateCustomListDialogViewModelTest.kt b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/CreateCustomListDialogViewModelTest.kt index 0ff5c9c3984a..660ee2899b53 100644 --- a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/CreateCustomListDialogViewModelTest.kt +++ b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/CreateCustomListDialogViewModelTest.kt @@ -38,11 +38,12 @@ class CreateCustomListDialogViewModelTest { val customListName = CustomListName.fromString("list") val customListId = CustomListId("1") val locationNames = listOf("locationName") - val expectedResult = CustomListActionResultData.CreatedWithLocations( - customListName = customListName, - locationNames = locationNames, - undo = mockUndo - ) + val expectedResult = + CustomListActionResultData.CreatedWithLocations( + customListName = customListName, + locationNames = locationNames, + undo = mockUndo + ) val viewModel = createViewModelWithLocationCode(GeoLocationId.Country("AB")) coEvery { mockCustomListActionUseCase(any()) } returns mockCreated.right() diff --git a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/SelectLocationViewModelTest.kt b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/SelectLocationViewModelTest.kt index 55caf5ddcb12..70fac82a3120 100644 --- a/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/SelectLocationViewModelTest.kt +++ b/android/app/src/test/kotlin/net/mullvad/mullvadvpn/viewmodel/SelectLocationViewModelTest.kt @@ -296,10 +296,7 @@ class SelectLocationViewModelTest { CustomListActionResultData.LocationAdded( customListName = customListName, locationName = location.name, - undo = CustomListAction.UpdateLocations( - id = customListId, - locations = emptyList() - ) + undo = CustomListAction.UpdateLocations(id = customListId, locations = emptyList()) ) coEvery { mockCustomListActionUseCase(any()) } returns @@ -337,10 +334,11 @@ class SelectLocationViewModelTest { CustomListActionResultData.LocationRemoved( customListName = customListName, locationName = locationName, - undo = CustomListAction.UpdateLocations( - id = customListId, - locations = listOf(location.id) - ) + undo = + CustomListAction.UpdateLocations( + id = customListId, + locations = listOf(location.id) + ) ) coEvery { mockCustomListActionUseCase(any()) } returns LocationsChanged(