mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix: fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
0e06d645d4
commit
f6f4965294
1 changed files with 3 additions and 3 deletions
|
|
@ -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 [];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue