function tearDown() {
unset($this->queue);
unset($this->queueService);
-
+
CRM_Utils_Time::resetTime();
$tablesToTruncate = array('civicrm_queue_item');
function _throwException($taskCtx, $value) {
throw new Exception("Manufactured error: $value");
}
-
+
static
function _enqueueNumbers($taskCtx, $low, $high) {
for ($i = $low; $i <= $high; $i++) {