From 93f026949d85d359a7f3bfc87fc8d8b5ed97ba9f Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 8 Jul 2009 17:58:55 +0000 Subject: [PATCH] fix broken test --- .../springframework/batch/test/JobRepositoryTestUtilsTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-test/src/test/java/org/springframework/batch/test/JobRepositoryTestUtilsTests.java b/spring-batch-test/src/test/java/org/springframework/batch/test/JobRepositoryTestUtilsTests.java index fc056529b..485ee91a2 100644 --- a/spring-batch-test/src/test/java/org/springframework/batch/test/JobRepositoryTestUtilsTests.java +++ b/spring-batch-test/src/test/java/org/springframework/batch/test/JobRepositoryTestUtilsTests.java @@ -96,7 +96,7 @@ public class JobRepositoryTestUtilsTests { assertEquals(3, list.size()); assertEquals(beforeJobs + 3, SimpleJdbcTestUtils.countRowsInTable(jdbcTemplate, "BATCH_JOB_EXECUTION")); assertEquals(beforeSteps + 6, SimpleJdbcTestUtils.countRowsInTable(jdbcTemplate, "BATCH_STEP_EXECUTION")); - utils.removeJobExecutions(); + utils.removeJobExecutions(list); assertEquals(beforeJobs, SimpleJdbcTestUtils.countRowsInTable(jdbcTemplate, "BATCH_JOB_EXECUTION")); assertEquals(beforeSteps, SimpleJdbcTestUtils.countRowsInTable(jdbcTemplate, "BATCH_STEP_EXECUTION")); }