Skip to content

Commit b31830c

Browse files
committed
when testing job recreation, compare the results of ->getArguments()
1 parent 2700956 commit b31830c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Resque/Tests/JobTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function testRecreatedJobMatchesExistingJob()
9595

9696
$newJob = Resque_Job::reserve('jobs');
9797
$this->assertEquals($job->payload['class'], $newJob->payload['class']);
98-
$this->assertEquals($job->payload['args'], $newJob->getArguments());
98+
$this->assertEquals($job->getArguments(), $newJob->getArguments());
9999
}
100100

101101

0 commit comments

Comments
 (0)