From b31830c0bf5c65fe95cf89a6136b74b936ee6098 Mon Sep 17 00:00:00 2001 From: Chris Boulton Date: Sun, 12 May 2013 15:40:35 +1000 Subject: [PATCH] when testing job recreation, compare the results of ->getArguments() --- test/Resque/Tests/JobTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Resque/Tests/JobTest.php b/test/Resque/Tests/JobTest.php index 5d93d6f..688c265 100644 --- a/test/Resque/Tests/JobTest.php +++ b/test/Resque/Tests/JobTest.php @@ -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()); }