BAEL-4871 Spring Conditional Annotations

This commit is contained in:
majewsk6
2021-05-21 14:59:07 +02:00
parent 77f48f3c31
commit 8dbf63292b

View File

@@ -31,6 +31,8 @@ public class DevEnvLoggingConfigurationUnitTest {
@Test
public void whenDevEnvNotEnabled_thenDevEnvLoggingConfigurationAndLoggingServiceShouldNotBeCreated() {
System.setProperty("env", "not-dev");
contextRunner
.withUserConfiguration(ConditionalTestConfiguration.class)
.run(context ->