We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4566abe commit 0053841Copy full SHA for 0053841
.travis.yml
@@ -2,7 +2,9 @@ sudo: required
2
dist: trusty
3
language: php
4
php:
5
+ - "7.2"
6
- "7.1"
7
+ - "7.0"
8
9
services:
10
- docker
tests/QueueTest.php
@@ -47,7 +47,7 @@ public function testQueueJobExpired()
47
48
// Expect an attempted older job in the queue
49
$job = Queue::pop('test');
50
- $this->assertEquals(1, 0);// trying to get a fail test
+ $this->assertEquals(1, $job->attempts());
51
$this->assertGreaterThan($expiry, $job->reservedAt());
52
53
$job->delete();
0 commit comments