Added ability to mark card as done

Closes #534

Signed-off-by: Thanos Kamber <thanos.kamber@gmail.com>
This commit is contained in:
Thanos Kamber
2023-08-30 22:17:53 +03:00
committed by Julius Härtl
parent 93e5ee7301
commit c3b4ed6e1f
18 changed files with 406 additions and 20 deletions

View File

@@ -41,6 +41,7 @@ class CardTest extends TestCase {
$card->setOwner("admin");
$card->setOrder(12);
$card->setArchived(false);
$card->setDone(false);
// TODO: relation shared labels acl
return $card;
}
@@ -87,6 +88,7 @@ class CardTest extends TestCase {
'commentsCount' => 0,
'lastEditor' => null,
'ETag' => $card->getETag(),
'done' => false,
], (new CardDetails($card))->jsonSerialize());
}
public function testJsonSerializeLabels() {
@@ -114,6 +116,7 @@ class CardTest extends TestCase {
'commentsCount' => 0,
'lastEditor' => null,
'ETag' => $card->getETag(),
'done' => false,
], (new CardDetails($card))->jsonSerialize());
}
@@ -143,6 +146,7 @@ class CardTest extends TestCase {
'commentsCount' => 0,
'lastEditor' => null,
'ETag' => $card->getETag(),
'done' => false,
], (new CardDetails($card))->jsonSerialize());
}
}