Skip to content

Commit

Permalink
[PM-8217] PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebispo5 committed Dec 20, 2024
1 parent bdbfcf9 commit 60ab5dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import javax.inject.Inject
/**
* Manages application state for the new device notice two factor screen.
*/
@Suppress("TooManyFunctions")
@HiltViewModel
class NewDeviceNoticeTwoFactorViewModel @Inject constructor(
val environmentRepository: EnvironmentRepository,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import io.mockk.mockk
import io.mockk.runs
import io.mockk.verify
import junit.framework.TestCase.assertTrue
import org.junit.After
import org.junit.Before
import org.junit.Test

Expand All @@ -37,6 +38,11 @@ class NewDeviceNoticeTwoFactorScreenTest : BaseComposeTest() {
}
}

@After
fun tearDown() {
onNavigateBackCalled = false
}

@Test
fun `Turn on two-step verification click should send TurnOnTwoFactorClick action`() {
composeTestRule
Expand Down

0 comments on commit 60ab5dd

Please sign in to comment.