From fffc7847693080318b759bfa0c0a683325b536b5 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 17 Jul 2024 12:35:13 +0200 Subject: feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API Signed-off-by: Julien Veyssier --- tests/lib/TaskProcessing/TaskProcessingTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib/TaskProcessing/TaskProcessingTest.php') diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index 27f46bed17c..c88f73a861c 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -12,6 +12,7 @@ use OC\EventDispatcher\EventDispatcher; use OC\TaskProcessing\Db\TaskMapper; use OC\TaskProcessing\Manager; use OC\TaskProcessing\RemoveOldTasksBackgroundJob; +use OCP\App\IAppManager; use OCP\AppFramework\Utility\ITimeFactory; use OCP\BackgroundJob\IJobList; use OCP\EventDispatcher\IEventDispatcher; @@ -19,6 +20,7 @@ use OCP\Files\AppData\IAppDataFactory; use OCP\Files\Config\ICachedMountInfo; use OCP\Files\Config\IUserMountCache; use OCP\Files\IRootFolder; +use OCP\Http\Client\IClientService; use OCP\IConfig; use OCP\IDBConnection; use OCP\IServerContainer; @@ -387,6 +389,8 @@ class TaskProcessingTest extends \Test\TestCase { $text2imageManager, \OC::$server->get(ISpeechToTextManager::class), $this->userMountCache, + \OC::$server->get(IClientService::class), + \OC::$server->get(IAppManager::class), ); } -- cgit v1.2.3