Remove unnecessary call to worker->unregisterWorker in the JobTest teardown method

This commit is contained in:
Chris Boulton 2010-04-19 15:01:47 +10:00
parent 5ac7e90374
commit 3f04a0a971

View File

@ -22,11 +22,6 @@ class Resque_Tests_JobTest extends Resque_Tests_TestCase
$this->worker->registerWorker();
}
public function tearDown()
{
$this->worker->unregisterWorker();
}
public function testJobCanBeQueued()
{
$this->assertTrue((bool)Resque::enqueue('jobs', 'Test_Job'));