Fix tests after reordering has changed

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-09-10 16:30:01 +02:00
parent f74a3d6724
commit 6eb8c117a3
2 changed files with 9 additions and 2 deletions

View File

@@ -402,6 +402,9 @@ class CardService {
}
$card = $this->cardMapper->find($id);
if ($card->getArchived()) {
throw new StatusException('Operation not allowed. This card is archived.');
}
$card->setStackId($stackId);
$this->cardMapper->update($card);