Fix build failure

pull/10130/merge
Stephane Nicoll 7 years ago
parent 6e4d30f280
commit 905e851219

@ -242,13 +242,6 @@ public class EnvironmentEndpointTests {
.isEqualTo("bar"); .isEqualTo("bar");
} }
@Test
public void propertyEntryNoMatchReturnNull() {
EnvironmentDescriptor env = new EnvironmentEndpoint(new StandardEnvironment())
.environmentEntry("this.property.does-not-exist");
assertThat(env).isNull();
}
private void clearSystemProperties(String... properties) { private void clearSystemProperties(String... properties) {
for (String property : properties) { for (String property : properties) {
System.clearProperty(property); System.clearProperty(property);

Loading…
Cancel
Save