Remove unused bean in JobLoaderConfigurationTests

This commit is contained in:
Mahmoud Ben Hassine
2023-06-21 17:47:01 +02:00
parent 850c27e08e
commit fd8f65b761

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -120,12 +120,6 @@ class JobLoaderConfigurationTests {
@Configuration
public static class TestConfiguration {
@Bean
public ApplicationObjectSupport fakeApplicationObjectSupport() {
return new ApplicationObjectSupport() {
};
}
@Bean
public Job testJob(JobRepository jobRepository) throws Exception {
SimpleJobBuilder builder = new JobBuilder("test", jobRepository).start(step1(jobRepository))