aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2024-07-17 12:35:13 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-07-22 11:34:29 +0200
commitfffc7847693080318b759bfa0c0a683325b536b5 (patch)
treeba32ce212a605100dddaffb3a93d4b8690b7ac50 /tests
parentfadef0c7ba8e6e6c52a54c0e0c5c27949b165183 (diff)
downloadnextcloud-server-fffc7847693080318b759bfa0c0a683325b536b5.tar.gz
nextcloud-server-fffc7847693080318b759bfa0c0a683325b536b5.zip
feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/TaskProcessing/TaskProcessingTest.php4
1 files changed, 4 insertions, 0 deletions
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),
);
}