Fix tests some more

This commit is contained in:
dsyer
2009-07-16 09:16:05 +00:00
parent 28de6374bb
commit 7deeb6e70c

View File

@@ -176,7 +176,7 @@ public class CommandLineJobRunnerTests {
@Test
public void testNextWithNoParameters() {
jobPath = ClassUtils.addResourcePathToPackagePath(CommandLineJobRunnerTests.class, "job-with-locator.xml");
jobPath = ClassUtils.addResourcePathToPackagePath(CommandLineJobRunnerTests.class, "launcher-with-locator.xml");
CommandLineJobRunner.main(new String[] { jobPath, "-next", "test-job2", jobKey });
assertEquals(1, StubSystemExiter.getStatus());
String errorMessage = CommandLineJobRunner.getErrorMessage();