mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Making the factory the default layer to construct jobs
This commit is contained in:
parent
df20186c37
commit
be19e12c31
5 changed files with 64 additions and 29 deletions
|
@ -31,7 +31,7 @@ class Resque_Tests_EventTest extends Resque_Tests_TestCase
|
|||
$payload = array(
|
||||
'class' => 'Test_Job',
|
||||
'args' => array(
|
||||
'somevar',
|
||||
array('somevar'),
|
||||
),
|
||||
);
|
||||
$job = new Resque_Job('jobs', $payload);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue