diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index b36e60959b66b..1b0b3c848860a 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -500,6 +500,7 @@ public function testProviderShouldBeRegisteredAndTaskTypeDisabled(): void { self::assertCount(1, $this->manager->getAvailableTaskTypes(true)); self::assertFalse($this->manager->hasProviders()); self::expectException(\OCP\TaskProcessing\Exception\PreConditionNotMetException::class); + $this->manager->scheduleTask(new Task(TextToText::ID, ['input' => 'Hello'], 'test', null)); } public function testProviderShouldBeRegisteredAndTaskFailValidation(): void {