mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
when testing job recreation, compare the results of ->getArguments()
This commit is contained in:
parent
2700956e73
commit
b31830c0bf
@ -95,7 +95,7 @@ class Resque_Tests_JobTest extends Resque_Tests_TestCase
|
||||
|
||||
$newJob = Resque_Job::reserve('jobs');
|
||||
$this->assertEquals($job->payload['class'], $newJob->payload['class']);
|
||||
$this->assertEquals($job->payload['args'], $newJob->getArguments());
|
||||
$this->assertEquals($job->getArguments(), $newJob->getArguments());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user