This commit is contained in:
Andy Wilkinson 2017-11-24 15:46:19 +00:00
parent 23014d97a2
commit 16b090c9bc

View File

@ -64,7 +64,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
context.refresh();
withDebugLogging(() -> this.initializer
.onApplicationEvent(new ContextRefreshedEvent(context)));
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT");
assertThat(this.outputCapture.toString())
.contains("CONDITIONS EVALUATION REPORT");
}
@Test
@ -81,7 +82,8 @@ public class ConditionEvaluationReportLoggingListenerTests {
() -> this.initializer.onApplicationEvent(new ApplicationFailedEvent(
new SpringApplication(), new String[0], context, ex)));
}
assertThat(this.outputCapture.toString()).contains("CONDITIONS REPORT");
assertThat(this.outputCapture.toString())
.contains("CONDITIONS EVALUATION REPORT");
}
@Test