From 3ed31d60dc08a19038292b6d9b0519071ccc663e Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Mon, 28 May 2018 20:02:25 +0200 Subject: [PATCH] Add assertion in IntegrationAutoConfigurationTests Closes gh-13280 --- .../integration/IntegrationAutoConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }