Removed code that was marked as deprecated.
Also updated test that tested deprecated code. resolves #366
This commit is contained in:
committed by
Michael Minella
parent
1ae7930d09
commit
76309b89ff
@@ -280,7 +280,7 @@ public class JobExecutionEventTests {
|
||||
EventJobExecutionConfiguration.class,
|
||||
PropertyPlaceholderAutoConfiguration.class,
|
||||
TestSupportBinderAutoConfiguration.class},
|
||||
new String[]{"--spring.cloud.task.closecontext_enable=false",
|
||||
new String[]{"--spring.cloud.task.closecontext_enabled=false",
|
||||
"--spring.main.web-environment=false",
|
||||
"--spring.cloud.task.batch.events.chunk-order=5",
|
||||
"--spring.cloud.task.batch.events.item-process-order=5",
|
||||
@@ -304,7 +304,7 @@ public class JobExecutionEventTests {
|
||||
EventJobExecutionConfiguration.class,
|
||||
PropertyPlaceholderAutoConfiguration.class,
|
||||
TestSupportBinderAutoConfiguration.class},
|
||||
new String[]{"--spring.cloud.task.closecontext_enable=false",
|
||||
new String[]{"--spring.cloud.task.closecontext_enabled=false",
|
||||
"--spring.main.web-environment=false",
|
||||
disabledPropertyArg});
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class TaskEventTests {
|
||||
SpringApplication.run(new Class[]{PropertyPlaceholderAutoConfiguration.class,EmbeddedDataSourceConfiguration.class,TaskEventsConfiguration.class,
|
||||
TaskEventAutoConfiguration.class,
|
||||
TestSupportBinderAutoConfiguration.class},
|
||||
new String[]{ "--spring.cloud.task.closecontext_enable=false",
|
||||
new String[]{ "--spring.cloud.task.closecontext_enabled=false",
|
||||
"--spring.main.web-environment=false"});
|
||||
|
||||
assertNotNull(applicationContext.getBean("taskEventListener"));
|
||||
|
||||
Reference in New Issue
Block a user