Skip to content

Commit

Permalink
[PM-8217] Add feature flag tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebispo5 committed Dec 24, 2024
1 parent 3d7bafb commit b4d757f
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,24 @@ class FlagKeyTest {
fun `AppReviewPrompt default value should be false`() {
assertFalse(FlagKey.AppReviewPrompt.defaultValue)
}

@Test
fun `NewDevicePermanentDismiss default value should be false`() {
assertFalse(FlagKey.NewDevicePermanentDismiss.defaultValue)
}

@Test
fun `NewDevicePermanentDismiss is remotely configured value should be true`() {
assertTrue(FlagKey.NewDevicePermanentDismiss.isRemotelyConfigured)
}

@Test
fun `NewDeviceTemporaryDismiss default value should be false`() {
assertFalse(FlagKey.NewDeviceTemporaryDismiss.defaultValue)
}

@Test
fun `NewDeviceTemporaryDismiss is remotely configured value should be true`() {
assertTrue(FlagKey.NewDeviceTemporaryDismiss.isRemotelyConfigured)
}
}

0 comments on commit b4d757f

Please sign in to comment.