Skip to content

Commit

Permalink
chore: remove unneccessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Nov 28, 2024
1 parent 2ec31e5 commit a18e9a7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/test/java/io/getunleash/DependentFeatureToggleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit a18e9a7

Please sign in to comment.