mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 21:52:21 +00:00
Remove unnecessary call to worker->unregisterWorker in the JobTest teardown method
This commit is contained in:
parent
5ac7e90374
commit
3f04a0a971
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue