Changed forgotten StartDelayed to use TimeSpan
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1117,7 +1117,7 @@ namespace Spring.Scheduling.Quartz
|
||||
string.Format("Will start Quartz Scheduler [{0}] in {1} seconds", sched.SchedulerName,
|
||||
startDelay));
|
||||
}
|
||||
sched.StartDelayed((int) startDelay.TotalSeconds);
|
||||
sched.StartDelayed(startDelay);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace Spring.Scheduling.Quartz
|
||||
// set expectations
|
||||
TestSchedulerFactory.MockScheduler.JobFactory = null;
|
||||
LastCall.IgnoreArguments();
|
||||
TestSchedulerFactory.MockScheduler.StartDelayed(2);
|
||||
TestSchedulerFactory.MockScheduler.StartDelayed(TimeSpan.FromSeconds(2));
|
||||
TestSchedulerFactory.Mockery.ReplayAll();
|
||||
|
||||
factory.SchedulerFactoryType = typeof(TestSchedulerFactory);
|
||||
|
||||
Reference in New Issue
Block a user