Skip to content

Commit 55228fd

Browse files
committed
fix: Don't call Job#execute() as it's deprecated
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 7b87f62 commit 55228fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/BackgroundJobTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function testPreviewsJob() : void {
129129
// generate cached previews
130130
$this->previewsJob->setId(1);
131131
$this->previewsJob->setLastRun(0);
132-
$this->previewsJob->execute($this->jobList);
132+
$this->previewsJob->start($this->jobList);
133133

134134
$folder = $this->appData->getFolder('cache');
135135
$newCacheSize = count($folder->getDirectoryListing());
@@ -151,7 +151,7 @@ public function testGCJob() : void {
151151
// generate cached previews
152152
$this->previewsJob->setId(1);
153153
$this->previewsJob->setLastRun(0);
154-
$this->previewsJob->execute($this->jobList);
154+
$this->previewsJob->start($this->jobList);
155155

156156
$folder = $this->appData->getFolder('cache');
157157
$cacheSize = count($folder->getDirectoryListing());

0 commit comments

Comments
 (0)