Unverified Commit 518443cd authored by Denisson Leal's avatar Denisson Leal Committed by GitHub

Update tests/QueueTest.php

Co-Authored-By: 's avataresron <esron.dtamar@gmail.com>
parent c1ea92e9
...@@ -69,7 +69,7 @@ class QueueTest extends TestCase ...@@ -69,7 +69,7 @@ class QueueTest extends TestCase
$job_id = Queue::push('test1', ['action' => 'QueueJobExpired'], 'test'); $job_id = Queue::push('test1', ['action' => 'QueueJobExpired'], 'test');
$this->assertNotNull($job_id); $this->assertNotNull($job_id);
$job_id = Queue::push('test2', ['action' => 'QueueJobExpired'], 'test'); $job_id = Queue::push('test2', ['action' => 'QueueJobExpired'], 'test');
$this->assertNotNull($id); $this->assertNotNull($job_id);
$job = Queue::pop('test'); $job = Queue::pop('test');
$this->assertEquals(1, $job->attempts()); $this->assertEquals(1, $job->attempts());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment