diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-10-15 11:09:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 11:09:23 +0200 |
commit | f7a4ff4d633ab9cd964e1f5f71158737e73ed1b7 (patch) | |
tree | f68ef635cd101220e479ac3650813c9616c4350c /tests | |
parent | b6a3ba136c4b69cedd613ceb36244656ae31941c (diff) | |
parent | 3adc997833f046ecddadcf5630a686405aeb69ae (diff) | |
download | nextcloud-server-f7a4ff4d633ab9cd964e1f5f71158737e73ed1b7.tar.gz nextcloud-server-f7a4ff4d633ab9cd964e1f5f71158737e73ed1b7.zip |
Merge pull request #27217 from nextcloud/techdebt/noid/make-debugging-a-cron-job-easier
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/BackgroundJob/DummyJobList.php | 7 |
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 { + } } |