public void EnqueuedSqlJobShouldBeQueuedStatusThenExecutedAfterExecution() { var jobId = new EnqueueJobController().Get("SampleSqlJobLibrary", "SampleSqlJobLibrary.Jobs.SqlJobToSucceed", "{\"TargetDate\":\"01/01/2012\",\"arg2\":\"cdef\",\"{TargetTable}\":\"TestLogs\"}"); TestAJob(jobId); }
public void EnqueuedCommonJobShouldBeQueuedStatusThenExecutedAfterExecution() { var jobId = new EnqueueJobController().Get("JobQueueCore", "JobQueueCore.Job", "{\"TargetDate\":\"01/01/2012\",\"arg2\":\"cdef\",\"{TargetTable}\":\"TestLogs\"}"); TestAJob(jobId); }