Fix BackgroundJobTest

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2021-02-04 12:55:56 +01:00
parent 575ac19690
commit a1630f443e
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class BackgroundJobTest extends TestCase {
*/
private $previewsJob;
/**
* @var mixed|\stdClass
* @var JobList
*/
private $jobList;
/**
@ -60,6 +60,7 @@ class BackgroundJobTest extends TestCase {
* @doesNotPerformAssertions
*/
public function testPreviewsJob() {
$this->jobList->add($this->previewsJob);
$this->previewsJob->execute($this->jobList);
}
@ -67,6 +68,7 @@ class BackgroundJobTest extends TestCase {
* @doesNotPerformAssertions
*/
public function testGCJob() {
$this->jobList->add($this->gcJob);
$this->gcJob->execute($this->jobList);
}