Exemplo n.º 1
0
 /**
  *  @expectedException LaterJob\Exception
  *  @expectedExceptionMessage  Invalid configuration for path "queue.retry_timer": Job Retry Timmer must be an integer with a value greater than 0
  */
 public function testRetryTimerNotInteger()
 {
     $config = new QueueConfig();
     $data = array('queue' => array('mean_service_time' => 60, 'max_retry' => 5, 'retry_timer' => 'aaa'));
     $config->parse($data);
 }
Exemplo n.º 2
0
 public function parseQueueOptions(array $options, QueueConfig $queue)
 {
     return $queue->parse($options);
 }