when testing job recreation, compare the results of ->getArguments()

This commit is contained in:
Chris Boulton 2013-05-12 15:40:35 +10:00
parent 2700956e73
commit b31830c0bf

View File

@ -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());
}