Change name to searchTextWithThreeSpaces_isEmptyQuery()

Co-authored-by: Don Turner <dturner@users.noreply.github.com>
pull/1223/head
Jaehwa Noh 10 months ago committed by GitHub
parent bc59112b65
commit 1fd341d208
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -143,7 +143,7 @@ class SearchViewModelTest {
} }
@Test @Test
fun stateIsEmptyQuery_withThreeWhiteSpacesSearchQuery() = runTest { fun searchTextWithThreeSpaces_isEmptyQuery() = runTest {
searchContentsRepository.addNewsResources(newsResourcesTestData) searchContentsRepository.addNewsResources(newsResourcesTestData)
searchContentsRepository.addTopics(topicsTestData) searchContentsRepository.addTopics(topicsTestData)
val collectJob = launch(UnconfinedTestDispatcher()) { viewModel.searchResultUiState.collect() } val collectJob = launch(UnconfinedTestDispatcher()) { viewModel.searchResultUiState.collect() }

Loading…
Cancel
Save