diff --git a/src/test/java/io/getunleash/DependentFeatureToggleTest.java b/src/test/java/io/getunleash/DependentFeatureToggleTest.java index 6ddef07b8..ccefa47d2 100644 --- a/src/test/java/io/getunleash/DependentFeatureToggleTest.java +++ b/src/test/java/io/getunleash/DependentFeatureToggleTest.java @@ -178,11 +178,4 @@ public void childIsDisabledWhenChildDoesNotHaveStrategiesAndParentIsDisabled() { when(featureRepository.getToggle("parent")).thenReturn(parent); assertThat(sut.isEnabled("child", UnleashContext.builder().build())).isFalse(); } - - @Test - public void shouldBeEnabledWhenMissingStrategies() { - FeatureToggle c = new FeatureToggle("c", true, emptyList()); - when(featureRepository.getToggle("c")).thenReturn(c); - assertThat(sut.isEnabled("c", UnleashContext.builder().build())).isTrue(); - } }