BAEL-1543: Changing tests names.

This commit is contained in:
Magdalena Krause 2018-02-15 13:28:56 -03:00
parent 443e990fd1
commit d09a828a58
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public class ChunksTest {
@Autowired private JobLauncherTestUtils jobLauncherTestUtils;
@Test
public void test() throws Exception {
public void givenChunksJob_WhenJobEnds_ThenStatusCompleted() throws Exception {
JobExecution jobExecution = jobLauncherTestUtils.launchJob();
Assert.assertEquals(ExitStatus.COMPLETED, jobExecution.getExitStatus());
}

View File

@ -17,7 +17,7 @@ public class TaskletsTest {
@Autowired private JobLauncherTestUtils jobLauncherTestUtils;
@Test
public void test() throws Exception {
public void givenTaskletsJob_WhenJobEnds_ThenStatusCompleted() throws Exception {
JobExecution jobExecution = jobLauncherTestUtils.launchJob();
Assert.assertEquals(ExitStatus.COMPLETED, jobExecution.getExitStatus());
}