Fix tests: Adjust constructor signature

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-07-19 17:32:28 +02:00
parent 7389567c7d
commit fd0fd97a65

View file

@ -103,7 +103,7 @@ class Task extends Entity {
}
public function toPublicTask(): OCPTask {
$task = new OCPTask($this->getType(), $this->getInput(), $this->getuserId(), $this->getAppId(), $this->getIdentifier());
$task = new OCPTask($this->getType(), $this->getInput(), $this->getAppId(), $this->getuserId(), $this->getIdentifier());
$task->setId($this->getId());
$task->setStatus($this->getStatus());
$task->setOutput($this->getOutput());