Skip to content

Commit 61c5925

Browse files
committed
Check tests
1 parent 71ff25c commit 61c5925

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Queue/QueueTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ public function testDispatchJob()
185185

186186
$job = new Job(['dispatch' => 'work']);
187187

188-
$dispatch = dispatch($job)->onQueue($queueName)->onConnection('qless');
189-
unset($dispatch);
188+
$this->app['queue']->connection('qless')->push($job, '', $queueName);
190189

191190
$queue = $this->getQueue();
192191

0 commit comments

Comments
 (0)