Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Jun 28, 2020
1 parent 29f0c96 commit b55de18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Queue/JobChainingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ public function testCatchCallbackIsCalledOnFailure()
new JobChainingTestFirstJob(),
new JobChainingTestFailingJob(),
new JobChainingTestSecondJob(),
])->catch(function () use (&$catchRan) {
static::$catchCallbackRan = true;
])->catch(function () {
self::$catchCallbackRan = true;
})->dispatch();

$this->assertTrue(JobChainingTestFirstJob::$ran);
Expand Down

0 comments on commit b55de18

Please sign in to comment.