Skip to content

Commit 7caa5a7

Browse files
committed
updated bottom bar experiment keys
1 parent 6ffc9b3 commit 7caa5a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/androidTest/java/com/duckduckgo/app/statistics/VariantManagerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ class VariantManagerTest {
4747

4848
@Test
4949
fun bottomBarNavigationControlVariantIsActiveAndHasNoFeatures() {
50-
val variant = variants.first { it.key == "mm" }
50+
val variant = variants.first { it.key == "mb" }
5151
assertEqualsDouble(1.0, variant.weight)
5252
assertEquals(0, variant.features.size)
5353
}
5454

5555
@Test
5656
fun bottomBarNavigationVariantIsActiveAndHasBottomBarNavigationFeature() {
57-
val variant = variants.first { it.key == "mn" }
57+
val variant = variants.first { it.key == "mk" }
5858
assertEqualsDouble(1.0, variant.weight)
5959
assertEquals(1, variant.features.size)
6060
assertTrue(variant.hasFeature(BottomBarNavigation))

app/src/main/java/com/duckduckgo/app/statistics/VariantManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ interface VariantManager {
4747

4848
// Bottom Bar Navigation Experiment
4949
Variant(
50-
key = "mm",
50+
key = "mb",
5151
weight = 1.0,
5252
features = emptyList(),
5353
filterBy = { noFilter() }),
5454
Variant(
55-
key = "mn",
55+
key = "mk",
5656
weight = 1.0,
5757
features = listOf(BottomBarNavigation),
5858
filterBy = { noFilter() })

0 commit comments

Comments
 (0)