diff --git a/module/spring-boot-batch/src/test/java/org/springframework/boot/batch/autoconfigure/BatchPropertiesTests.java b/module/spring-boot-batch/src/test/java/org/springframework/boot/batch/autoconfigure/BatchPropertiesTests.java index 2c50688d0ca..7c19617cb74 100644 --- a/module/spring-boot-batch/src/test/java/org/springframework/boot/batch/autoconfigure/BatchPropertiesTests.java +++ b/module/spring-boot-batch/src/test/java/org/springframework/boot/batch/autoconfigure/BatchPropertiesTests.java @@ -18,7 +18,7 @@ package org.springframework.boot.batch.autoconfigure; import org.junit.jupiter.api.Test; -import org.springframework.batch.core.configuration.support.DefaultBatchConfiguration; +import org.springframework.batch.core.configuration.support.JdbcDefaultBatchConfiguration; import static org.assertj.core.api.Assertions.assertThat; @@ -35,7 +35,7 @@ class BatchPropertiesTests { .isEqualTo(new TestBatchConfiguration().getValidateTransactionState()); } - static class TestBatchConfiguration extends DefaultBatchConfiguration { + static class TestBatchConfiguration extends JdbcDefaultBatchConfiguration { @Override public boolean getValidateTransactionState() {