Skip to content

Commit 5ca904c

Browse files
committed
Adapt to latest change in Spring Batch snapshots
See spring-projects/spring-batch#4971
1 parent 5da4913 commit 5ca904c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

module/spring-boot-batch/src/test/java/org/springframework/boot/batch/autoconfigure/BatchAutoConfigurationTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ void testDefaultContext() {
119119
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class).run((context) -> {
120120
assertThat(context).hasSingleBean(JobRepository.class);
121121
assertThat(context).hasSingleBean(JobOperator.class);
122-
assertThat(context).hasSingleBean(JobRegistry.class);
123-
assertThat(context).hasSingleBean(JobOperator.class);
124122
assertThat(context.getBean(BatchProperties.class).getJdbc().getInitializeSchema())
125123
.isEqualTo(DatabaseInitializationMode.EMBEDDED);
126124
assertThat(new JdbcTemplate(context.getBean(DataSource.class))

0 commit comments

Comments
 (0)