Merge pull request #13280 from dreis2211:assert-integration-autoconfiguration

* pr/13280:
  Add assertion in IntegrationAutoConfigurationTests
pull/13312/merge
Stephane Nicoll 7 years ago
commit 41bcfad647

@ -208,7 +208,7 @@ public class IntegrationAutoConfigurationTests {
assertThat(properties.getJdbc().getInitializeSchema()) assertThat(properties.getJdbc().getInitializeSchema())
.isEqualTo(DataSourceInitializationMode.EMBEDDED); .isEqualTo(DataSourceInitializationMode.EMBEDDED);
JdbcOperations jdbc = context.getBean(JdbcOperations.class); JdbcOperations jdbc = context.getBean(JdbcOperations.class);
jdbc.queryForList("select * from INT_MESSAGE").isEmpty(); assertThat(jdbc.queryForList("select * from INT_MESSAGE")).isEmpty();
}); });
} }

Loading…
Cancel
Save