From 566a7f989015d530ca9d2ba3387aec5c2b225158 Mon Sep 17 00:00:00 2001 From: dsyer Date: Mon, 16 Nov 2009 09:57:06 +0000 Subject: [PATCH] RESOLVED - issue BATCH-1439: Fix test tests --- .../java/org/springframework/batch/test/AbstractJobTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-test/src/main/java/org/springframework/batch/test/AbstractJobTests.java b/spring-batch-test/src/main/java/org/springframework/batch/test/AbstractJobTests.java index 4083e0553..7437014fb 100644 --- a/spring-batch-test/src/main/java/org/springframework/batch/test/AbstractJobTests.java +++ b/spring-batch-test/src/main/java/org/springframework/batch/test/AbstractJobTests.java @@ -211,7 +211,7 @@ public abstract class AbstractJobTests implements ApplicationContextAware { * @return JobExecution */ public JobExecution launchStep(String stepName, JobParameters jobParameters, ExecutionContext jobExecutionContext) { - Step step = this.job.getStep(stepName); + Step step = this.job.getStep(job.getName()+"."+stepName); if (step == null) { throw new IllegalStateException("No Step found with name: [" + stepName + "]"); }