diff --git a/WordPress/src/test/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModelTest.kt b/WordPress/src/test/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModelTest.kt index cd3ce85ce800..835b06188400 100644 --- a/WordPress/src/test/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModelTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModelTest.kt @@ -178,7 +178,7 @@ class ActivityLogTypeFilterViewModelTest : BaseUnitTest() { @Test fun `items are checked, when the user opens the screen with active activity type filter`() = test { val uiStates = init().uiStates - val initialSelection = listOf(1,4) + val initialSelection = listOf(1, 4) startVM(initialSelection = initialSelection) diff --git a/WordPress/src/test/java/org/wordpress/android/viewmodel/activitylog/ActivityLogViewModelTest.kt b/WordPress/src/test/java/org/wordpress/android/viewmodel/activitylog/ActivityLogViewModelTest.kt index 6f7b03dc673e..3d4e4d94062d 100644 --- a/WordPress/src/test/java/org/wordpress/android/viewmodel/activitylog/ActivityLogViewModelTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/viewmodel/activitylog/ActivityLogViewModelTest.kt @@ -72,7 +72,8 @@ class ActivityLogViewModelTest { Date(), true, null, - null) + null + ) val event = ActivityLogListItem.Event( "activityId", @@ -97,7 +98,7 @@ class ActivityLogViewModelTest { null, Date(), null - ) + ) @Before fun setUp() = runBlocking { @@ -365,7 +366,7 @@ class ActivityLogViewModelTest { @Test fun onActivityTypeFilterClickPreviouslySelectedTypesPassed() { - val selectedItems = listOf(1,4) + val selectedItems = listOf(1, 4) viewModel.onActivityTypesSelected(selectedItems) viewModel.onActivityTypeFilterClicked() @@ -387,8 +388,10 @@ class ActivityLogViewModelTest { birthday.set(1985, 8, 27) val list = mutableListOf() - val activity = ActivityLogModel("", "", null, "", "", "", - "", true, "", birthday.time) + val activity = ActivityLogModel( + "", "", null, "", "", "", + "", true, "", birthday.time + ) list.add(activity) list.add(activity.copy())