From ff83fea96ef8a3107fada3c3f7b5b04435484fef Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 16 Sep 2025 11:32:15 -0700 Subject: [PATCH] Adapt to upstream Spring Batch changes See gh-47001 --- .../boot/batch/autoconfigure/BatchPropertiesTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {