Add unit test to prevent shipping forced feature flags.
parent
c09dbfa47c
commit
4fefd14538
|
@ -21,6 +21,11 @@ public class FeatureFlagsTest extends BaseUnitTest {
|
||||||
private static final String A = "A";
|
private static final String A = "A";
|
||||||
private static final String B = "B";
|
private static final String B = "B";
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void disallowForcedFlags() {
|
||||||
|
assertTrue(FeatureFlags.getForcedValues().isEmpty());
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void updateInternal_newValue_ignoreNotInRemoteCapable() {
|
public void updateInternal_newValue_ignoreNotInRemoteCapable() {
|
||||||
UpdateResult result = FeatureFlags.updateInternal(mapOf(A, true,
|
UpdateResult result = FeatureFlags.updateInternal(mapOf(A, true,
|
||||||
|
|
Loading…
Reference in New Issue