Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 0053841

Browse files
committed
Updated to add php 7.2 support
1 parent 4566abe commit 0053841

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ sudo: required
22
dist: trusty
33
language: php
44
php:
5+
- "7.2"
56
- "7.1"
7+
- "7.0"
68

79
services:
810
- docker

tests/QueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testQueueJobExpired()
4747

4848
// Expect an attempted older job in the queue
4949
$job = Queue::pop('test');
50-
$this->assertEquals(1, 0);// trying to get a fail test
50+
$this->assertEquals(1, $job->attempts());
5151
$this->assertGreaterThan($expiry, $job->reservedAt());
5252

5353
$job->delete();

0 commit comments

Comments
 (0)