Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
malinajirka committed Nov 27, 2020
1 parent 73341fe commit b1f34dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ class ActivityLogViewModelTest {
Date(),
true,
null,
null)
null
)

val event = ActivityLogListItem.Event(
"activityId",
Expand All @@ -97,7 +98,7 @@ class ActivityLogViewModelTest {
null,
Date(),
null
)
)

@Before
fun setUp() = runBlocking<Unit> {
Expand Down Expand Up @@ -365,7 +366,7 @@ class ActivityLogViewModelTest {

@Test
fun onActivityTypeFilterClickPreviouslySelectedTypesPassed() {
val selectedItems = listOf(1,4)
val selectedItems = listOf(1, 4)
viewModel.onActivityTypesSelected(selectedItems)

viewModel.onActivityTypeFilterClicked()
Expand All @@ -387,8 +388,10 @@ class ActivityLogViewModelTest {
birthday.set(1985, 8, 27)

val list = mutableListOf<ActivityLogModel>()
val activity = ActivityLogModel("", "", null, "", "", "",
"", true, "", birthday.time)
val activity = ActivityLogModel(
"", "", null, "", "", "",
"", true, "", birthday.time
)
list.add(activity)
list.add(activity.copy())

Expand Down

0 comments on commit b1f34dd

Please sign in to comment.