Commit 16b090c9 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish

parent 23014d97
...@@ -64,7 +64,8 @@ public class ConditionEvaluationReportLoggingListenerTests { ...@@ -64,7 +64,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
context.refresh(); context.refresh();
withDebugLogging(() -> this.initializer withDebugLogging(() -> this.initializer
.onApplicationEvent(new ContextRefreshedEvent(context))); .onApplicationEvent(new ContextRefreshedEvent(context)));
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT"); assertThat(this.outputCapture.toString())
.contains("CONDITIONS EVALUATION REPORT");
} }
@Test @Test
...@@ -81,7 +82,8 @@ public class ConditionEvaluationReportLoggingListenerTests { ...@@ -81,7 +82,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
() -> this.initializer.onApplicationEvent(new ApplicationFailedEvent( () -> this.initializer.onApplicationEvent(new ApplicationFailedEvent(
new SpringApplication(), new String[0], context, ex))); new SpringApplication(), new String[0], context, ex)));
} }
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT"); assertThat(this.outputCapture.toString())
.contains("CONDITIONS EVALUATION REPORT");
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment