From f6f4965294ea99952e45079c39969c8486708da9 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 7 May 2024 15:45:34 +0200 Subject: fix: fix tests Signed-off-by: Marcel Klehr --- tests/lib/TaskProcessing/TaskProcessingTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/lib/TaskProcessing/TaskProcessingTest.php') diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index d5a31d3fd97..846644ab6c3 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -133,7 +133,7 @@ class SuccessfulSyncProvider implements IProvider, ISynchronousProvider { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { return ['output' => $input['input']]; } } @@ -168,7 +168,7 @@ class FailingSyncProvider implements IProvider, ISynchronousProvider { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { throw new ProcessingException(self::ERROR_MESSAGE); } } @@ -202,7 +202,7 @@ class BrokenSyncProvider implements IProvider, ISynchronousProvider { ]; } - public function process(?string $userId, array $input): array { + public function process(?string $userId, array $input, callable $reportProgress): array { return []; } } -- cgit v1.2.3