Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/37835/head
Marcel Klehr 3 years ago
parent 5608b50778
commit a0c722ad69
  1. 8
      tests/lib/BackgroundJob/JobTest.php

@ -63,7 +63,7 @@ class JobTest extends \Test\TestCase {
public function testDisallowParallelRunsWithNoOtherJobs() {
$jobList = new DummyJobList();
$job = new TestJob($this->timeFactory, $this, function() {
$job = new TestJob($this->timeFactory, $this, function () {
});
$job->setAllowParallelRuns(false);
$jobList->add($job);
@ -76,7 +76,7 @@ class JobTest extends \Test\TestCase {
public function testAllowParallelRunsWithNoOtherJobs() {
$jobList = new DummyJobList();
$job = new TestJob($this->timeFactory, $this, function() {
$job = new TestJob($this->timeFactory, $this, function () {
});
$job->setAllowParallelRuns(true);
$jobList->add($job);
@ -89,7 +89,7 @@ class JobTest extends \Test\TestCase {
public function testAllowParallelRunsWithOtherJobs() {
$jobList = new DummyJobList();
$job = new TestJob($this->timeFactory, $this, function() {
$job = new TestJob($this->timeFactory, $this, function () {
});
$job->setAllowParallelRuns(true);
$jobList->add($job);
@ -102,7 +102,7 @@ class JobTest extends \Test\TestCase {
public function testDisallowParallelRunsWithOtherJobs() {
$jobList = new DummyJobList();
$job = new TestJob($this->timeFactory, $this, function() {
$job = new TestJob($this->timeFactory, $this, function () {
});
$job->setAllowParallelRuns(false);
$jobList->add($job);

Loading…
Cancel
Save