Skip to content

Commit

Permalink
test: fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxzero committed Oct 5, 2023
1 parent da91458 commit f41e3d8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.mock
import org.mockito.kotlin.doNothing
import org.mockito.kotlin.whenever


Expand Down Expand Up @@ -92,7 +91,6 @@ class AuthorizingPaymentActivityTest {
whenever(mockViewModel.isLoading).thenReturn(isLoading)
whenever(mockViewModel.error).thenReturn(error)
whenever(mockViewModel.transactionStatus).thenReturn(transactionStatus)
doNothing().whenever(mockViewModel).cleanup()

interceptActivityLifecycle { activity, _ ->
(activity as? AuthorizingPaymentActivity)?.setViewModelFactory(viewModelFactory)
Expand Down

0 comments on commit f41e3d8

Please sign in to comment.