Fix tests after reordering has changed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user