summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-05-31 17:15:26 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-14 09:57:16 +0200
commit9cd9f4b4bc87133cf446746295e9730c244b3a49 (patch)
tree04a08e521e533e61e76f8d2ff3534cf2a6b0db11 /tests
parente2a7482b490b6b3e5143b4678d88867a6398b248 (diff)
downloadnextcloud-server-9cd9f4b4bc87133cf446746295e9730c244b3a49.tar.gz
nextcloud-server-9cd9f4b4bc87133cf446746295e9730c244b3a49.zip
Move queries to the joblist
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/BackgroundJob/DummyJobList.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/BackgroundJob/DummyJobList.php b/tests/lib/BackgroundJob/DummyJobList.php
index 452b9bb98ed..97fc551d8f5 100644
--- a/tests/lib/BackgroundJob/DummyJobList.php
+++ b/tests/lib/BackgroundJob/DummyJobList.php
@@ -117,6 +117,10 @@ class DummyJobList extends \OC\BackgroundJob\JobList {
return null;
}
+ public function getDetailsById(int $id): ?array {
+ return null;
+ }
+
/**
* set the lastRun of $job to now
*
@@ -128,4 +132,7 @@ class DummyJobList extends \OC\BackgroundJob\JobList {
public function setExecutionTime(IJob $job, $timeTaken) {
}
+
+ public function resetBackgroundJob(IJob $job): void {
+ }
}