Rename test resource to be Windows-friendly

This commit is contained in:
Andy Wilkinson 2019-09-22 11:29:21 +01:00
parent 1ceb96f9f2
commit e5f26a4f1a
2 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class QuartzDataSourceInitializerTests {
public void commentPrefixCanBeCustomized() {
this.contextRunner.withUserConfiguration(TestConfiguration.class).withPropertyValues(
"spring.quartz.jdbc.comment-prefix=**",
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_**_comments.sql")
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_custom_comment_prefix.sql")
.run((context) -> {
JdbcTemplate jdbcTemplate = context.getBean(JdbcTemplate.class);
assertThat(jdbcTemplate.queryForObject("SELECT COUNT(*) FROM QRTZ_TEST_TABLE", Integer.class))