This commit is contained in:
Andy Wilkinson 2017-11-24 15:46:19 +00:00
parent 23014d97a2
commit 16b090c9bc
1 changed files with 4 additions and 2 deletions

View File

@ -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 {
() -> 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