Ejemplo n.º 1
0
 public function setUp()
 {
     Test_Job::$called = false;
     // Register a worker to test with
     $this->worker = new Resque_Worker('jobs');
     $this->worker->registerWorker();
 }
Ejemplo n.º 2
0
 public function perform()
 {
     self::$called = true;
 }