diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationTests.java index 106ab06b9a..a5eacf2cb5 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfigurationTests.java @@ -208,7 +208,7 @@ public class IntegrationAutoConfigurationTests { assertThat(properties.getJdbc().getInitializeSchema()) .isEqualTo(DataSourceInitializationMode.EMBEDDED); JdbcOperations jdbc = context.getBean(JdbcOperations.class); - jdbc.queryForList("select * from INT_MESSAGE").isEmpty(); + assertThat(jdbc.queryForList("select * from INT_MESSAGE")).isEmpty(); }); }