Skip to content

Commit

Permalink
Fix SearchViewModelTest
Browse files Browse the repository at this point in the history
  • Loading branch information
floschu committed Aug 30, 2020
1 parent d427e04 commit fb7c2d8
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,10 @@ internal class SearchViewModelTest {

companion object {
private val mockReposPage1: List<Repository> = (0..2).map {
Repository(
it, "$it", "", "",
Repository.Owner("", ""),
"", ""
)
Repository(it, "$it", "", Repository.Owner(""), "", "")
}
private val mockReposPage2: List<Repository> = (3..4).map {
Repository(
it, "$it", "", "",
Repository.Owner("", ""),
"", ""
)
Repository(it, "$it", "", Repository.Owner(""), "", "")
}

private const val query = "control"
Expand Down

0 comments on commit fb7c2d8

Please sign in to comment.