Tell tests about ForkDebug channel

issues/82-fix-tests
Adam Novak 4 years ago
parent 5d6f47ae7e
commit 0c2a3451fd

@ -8,13 +8,15 @@ import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
import org.mozilla.fenix.ReleaseChannel.Debug
import org.mozilla.fenix.ReleaseChannel.ForkDebug
class ReleaseChannelTest {
@Test
fun `isReleased and isDebug channels are mutually exclusive`() {
val debugChannels = setOf(
Debug
Debug,
ForkDebug
)
val nonDebugChannels = ReleaseChannel.values().toSet() - debugChannels

Loading…
Cancel
Save