Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed May 7, 2024
1 parent 9d916ff commit 2b46179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lib/TaskProcessing/TaskProcessingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getOptionalOutputShape(): array {
];
}

public function process(?string $userId, array $input): array {
public function process(?string $userId, array $input, callable $reportProgress): array {
return ['output' => $input['input']];
}
}
Expand Down Expand Up @@ -168,7 +168,7 @@ public function getOptionalOutputShape(): array {
];
}

public function process(?string $userId, array $input): array {
public function process(?string $userId, array $input, callable $reportProgress): array {
throw new ProcessingException(self::ERROR_MESSAGE);
}
}
Expand Down Expand Up @@ -202,7 +202,7 @@ public function getOptionalOutputShape(): array {
];
}

public function process(?string $userId, array $input): array {
public function process(?string $userId, array $input, callable $reportProgress): array {
return [];
}
}
Expand Down

0 comments on commit 2b46179

Please sign in to comment.