Improve test for JobLauncherCommandLineRunner (see gh-1125)

This commit is contained in:
Dave Syer 2014-06-24 10:39:28 +01:00
parent 9f464e9c49
commit b2db3790de
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ public class JobLauncherCommandLineRunnerTests {
}
}).build()).incrementer(new RunIdIncrementer()).build();
JobParameters jobParameters = new JobParametersBuilder().addLong("id", 1L, false)
.toJobParameters();
.addLong("foo", 2L, false).toJobParameters();
this.runner.execute(this.job, jobParameters);
this.runner.execute(this.job, jobParameters);
assertEquals(1, this.jobExplorer.getJobInstances("job", 0, 100).size());