Updated to add php 7.2 support

parent 4566abe0
...@@ -2,7 +2,9 @@ sudo: required ...@@ -2,7 +2,9 @@ sudo: required
dist: trusty dist: trusty
language: php language: php
php: php:
- "7.2"
- "7.1" - "7.1"
- "7.0"
services: services:
- docker - docker
......
...@@ -47,7 +47,7 @@ class QueueTest extends TestCase ...@@ -47,7 +47,7 @@ class QueueTest extends TestCase
// Expect an attempted older job in the queue // Expect an attempted older job in the queue
$job = Queue::pop('test'); $job = Queue::pop('test');
$this->assertEquals(1, 0);// trying to get a fail test $this->assertEquals(1, $job->attempts());
$this->assertGreaterThan($expiry, $job->reservedAt()); $this->assertGreaterThan($expiry, $job->reservedAt());
$job->delete(); $job->delete();
......
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