]> source.dussan.org Git - nextcloud-server.git/commitdiff
Run cs:Fix
authorMarcel Klehr <mklehr@gmx.net>
Thu, 20 Apr 2023 14:39:38 +0000 (16:39 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Sun, 23 Apr 2023 10:36:12 +0000 (12:36 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
tests/lib/BackgroundJob/JobTest.php

index b44324711b865464e1f5db1fe8291576ace6dce6..ca9d68f0a2b4c04bf270483a79f2231671c4d8ea 100644 (file)
@@ -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);