mirror of https://github.com/nextcloud/bookmarks
Fix BackgroundJobTest
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
575ac19690
commit
a1630f443e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue