BAEL-4871 Spring Conditional Annotations
This commit is contained in:
parent
adfe5c687e
commit
93c3b2bf35
|
@ -31,6 +31,8 @@ public class DevEnvLoggingConfigurationUnitTest {
|
|||
|
||||
@Test
|
||||
public void whenDevEnvNotEnabled_thenDevEnvLoggingConfigurationAndLoggingServiceShouldNotBeCreated() {
|
||||
System.setProperty("env", "not-dev");
|
||||
|
||||
contextRunner
|
||||
.withUserConfiguration(ConditionalTestConfiguration.class)
|
||||
.run(context ->
|
||||
|
|
Loading…
Reference in New Issue