Skip to content

Commit

Permalink
adapted tests to the new signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Greenade committed May 30, 2024
1 parent 9461179 commit 27e3e31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ class SearchMenuSheetTest {
resetFiltersCallback = { callback++ },
timeFilterCallback = { _, _ -> callback++ },
initialPage = 0,
mode = MapOrListMode.MAP
mode = MapOrListMode.MAP,
followedAssociations = listOf(),
selectedAssociation = -1,
associationCallback = { callback++ }
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ class SearchMenuFiltersTest {
filters.from = f
filters.to = t
},
MapOrListMode.LIST
MapOrListMode.LIST,
listOf(),
-1,
{ callback++ }
)
}
}
Expand Down

0 comments on commit 27e3e31

Please sign in to comment.