Improve test for JobLauncherCommandLineRunner (see gh-1125)
This commit is contained in:
parent
9f464e9c49
commit
b2db3790de
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue