mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-25 01:35:14 +00:00
Remove unnecessary call to worker->unregisterWorker in the JobTest teardown method
This commit is contained in:
parent
5ac7e90374
commit
3f04a0a971
@ -22,11 +22,6 @@ class Resque_Tests_JobTest extends Resque_Tests_TestCase
|
|||||||
$this->worker->registerWorker();
|
$this->worker->registerWorker();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tearDown()
|
|
||||||
{
|
|
||||||
$this->worker->unregisterWorker();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testJobCanBeQueued()
|
public function testJobCanBeQueued()
|
||||||
{
|
{
|
||||||
$this->assertTrue((bool)Resque::enqueue('jobs', 'Test_Job'));
|
$this->assertTrue((bool)Resque::enqueue('jobs', 'Test_Job'));
|
||||||
|
Loading…
Reference in New Issue
Block a user