diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-05-07 15:45:34 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-05-14 11:38:41 +0200 |
commit | f6f4965294ea99952e45079c39969c8486708da9 (patch) | |
tree | 1060494169db87c155a2507d77f2aa8bcefda639 /tests | |
parent | 0e06d645d4429809cf080b7b9e7da218ebd549a6 (diff) | |
download | nextcloud-server-f6f4965294ea99952e45079c39969c8486708da9.tar.gz nextcloud-server-f6f4965294ea99952e45079c39969c8486708da9.zip |
fix: fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/TaskProcessing/TaskProcessingTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 []; } } |