Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharma-xyz committed Feb 28, 2025
1 parent 44a0b94 commit ffa3ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SearchStopViewModelTest {
}
}

/*
/* This test is not valid anymore, as we're not calling API.
@Test
fun `GIVEN search query WHEN SearchTextChanged is triggered and api is success THEN uiState is updated with results`() =
runTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SearchStopViewModel(
log("results: $results")*/

val resultsDb: List<SelectProductClassesForStop> =
sandook.selectStops(stopName = query)
sandook.selectStops(stopName = query, excludeProductClassList = listOf())

val stopResults = resultsDb
.map { it.toStopResult() }
Expand Down

0 comments on commit ffa3ae3

Please sign in to comment.