BATCH-1232: fixed broken test; removed unused import

This commit is contained in:
trisberg
2009-06-16 00:57:35 +00:00
parent e80e30622d
commit 7b14a66a6e
2 changed files with 2 additions and 3 deletions

View File

@@ -143,10 +143,10 @@ public class JobRepositoryFactoryBeanTests {
@Test
public void testCreateRepository() throws Exception {
String databaseType = "foo";
String databaseType = "HSQL";
factory.setDatabaseType(databaseType);
expect(incrementerFactory.isSupportedIncrementerType("foo")).andReturn(true);
expect(incrementerFactory.isSupportedIncrementerType("HSQL")).andReturn(true);
expect(incrementerFactory.getSupportedIncrementerTypes()).andReturn(new String[0]);
expect(incrementerFactory.getIncrementer(databaseType, tablePrefix + "JOB_SEQ")).andReturn(new StubIncrementer());
expect(incrementerFactory.getIncrementer(databaseType, tablePrefix + "JOB_EXECUTION_SEQ")).andReturn(new StubIncrementer());