Defensively clear step context to prevent test failure

This commit is contained in:
Dave Syer
2013-01-15 10:27:32 +00:00
parent 0aa78d8f79
commit e2bbd398fd

View File

@@ -114,6 +114,7 @@ public class StepScopeConfigurationTests {
@Before
public void setup() {
StepSynchronizationManager.release();
stepExecution = new StepExecution("STEP", null);
StepSynchronizationManager.register(stepExecution);
}