File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
androidTest/java/com/duckduckgo/app/statistics
main/java/com/duckduckgo/app/statistics Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -137,22 +137,22 @@ class VariantManagerTest {
137137 @Test
138138 fun serpHeaderControlVariantHasExpectedWeightAndNoFeatures () {
139139 val variant = variants.first { it.key == " zg" }
140- assertEqualsDouble(0 .0 , variant.weight)
140+ assertEqualsDouble(1 .0 , variant.weight)
141141 assertEquals(0 , variant.features.size)
142142 }
143143
144144 @Test
145145 fun serpHeaderVariantHasExpectedWeightAndSERPHeaderRemovalFeature () {
146146 val variant = variants.first { it.key == " zi" }
147- assertEqualsDouble(0 .0 , variant.weight)
147+ assertEqualsDouble(1 .0 , variant.weight)
148148 assertEquals(1 , variant.features.size)
149149 assertEquals(SerpHeaderRemoval , variant.features[0 ])
150150 }
151151
152152 @Test
153153 fun serpHeaderVariantHasExpectedWeightAndSERPHeaderQueryReplacementFeature () {
154154 val variant = variants.first { it.key == " zh" }
155- assertEqualsDouble(0 .0 , variant.weight)
155+ assertEqualsDouble(1 .0 , variant.weight)
156156 assertEquals(1 , variant.features.size)
157157 assertEquals(SerpHeaderQueryReplacement , variant.features[0 ])
158158 }
Original file line number Diff line number Diff line change @@ -88,17 +88,17 @@ interface VariantManager {
8888 // Disabled until Drip Notifications Experiments are completed
8989 Variant (
9090 key = " zg" ,
91- weight = 0 .0 ,
91+ weight = 1 .0 ,
9292 features = emptyList(),
9393 filterBy = { noFilter() }),
9494 Variant (
9595 key = " zh" ,
96- weight = 0 .0 ,
96+ weight = 1 .0 ,
9797 features = listOf (VariantFeature .SerpHeaderQueryReplacement ),
9898 filterBy = { noFilter() }),
9999 Variant (
100100 key = " zi" ,
101- weight = 0 .0 ,
101+ weight = 1 .0 ,
102102 features = listOf (VariantFeature .SerpHeaderRemoval ),
103103 filterBy = { noFilter() })
104104
You can’t perform that action at this time.
0 commit comments