aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-20 14:21:57 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-23 12:36:12 +0200
commit281c8047b6a1d6581201c126180a5570eca5d612 (patch)
tree7df31dfb16989ada3f9b9acbff5b58e70014012f /tests
parent0f3211c4e46492eb90b24af231cd738f989eed3d (diff)
downloadnextcloud-server-281c8047b6a1d6581201c126180a5570eca5d612.tar.gz
nextcloud-server-281c8047b6a1d6581201c126180a5570eca5d612.zip
JobListTest: clearJobsList before testHasReservedJobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/BackgroundJob/JobListTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/BackgroundJob/JobListTest.php b/tests/lib/BackgroundJob/JobListTest.php
index d42c2521761..b370a233075 100644
--- a/tests/lib/BackgroundJob/JobListTest.php
+++ b/tests/lib/BackgroundJob/JobListTest.php
@@ -246,6 +246,7 @@ class JobListTest extends TestCase {
}
public function testHasReservedJobs() {
+ $this->clearJobsList();
$job = new TestJob();
$this->instance->add($job);