Skip to content

Commit 4cdc25a

Browse files
committed
Fix test.
1 parent c811a0b commit 4cdc25a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/Queue/QueueWorkerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function testWorkerLogsJobToFailedQueueIfMaxTriesHasBeenExceeded()
5555
$job->shouldReceive('attempts')->once()->andReturn(10);
5656
$job->shouldReceive('getQueue')->once()->andReturn('queue');
5757
$job->shouldReceive('getRawBody')->once()->andReturn('body');
58+
$job->shouldReceive('delete')->once();
5859
$failer->shouldReceive('log')->once()->with('connection', 'queue', 'body');
5960

6061
$worker->process('connection', $job, 3, 0);

0 commit comments

Comments
 (0)