Skip to content

Commit

Permalink
fix: Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Nov 8, 2023
1 parent ab9dba1 commit df3fdeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/import/ImportExportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function testReimportOcc() {
);
}

public static function writeArrayStructure(string $prefix = '', array $array = [], array $skipKeyList = ['id', 'boardId', 'cardId', 'stackId', 'ETag', 'permissions', 'shared', 'version']): string {
public static function writeArrayStructure(string $prefix = '', array $array = [], array $skipKeyList = ['id', 'boardId', 'cardId', 'stackId', 'ETag', 'permissions', 'shared', 'version', 'done']): string {
$output = '';
$arrayIsList = array_keys($array) === range(0, count($array) - 1);
foreach ($array as $key => $value) {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Db/CardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private function createCard() {
$card->setOwner("admin");
$card->setOrder(12);
$card->setArchived(false);
$card->setDone(false);
$card->setDone(null);
// TODO: relation shared labels acl
return $card;
}
Expand Down Expand Up @@ -88,7 +88,7 @@ public function testJsonSerialize() {
'commentsCount' => 0,
'lastEditor' => null,
'ETag' => $card->getETag(),
'done' => false,
'done' => null,
], (new CardDetails($card))->jsonSerialize());
}
public function testJsonSerializeLabels() {
Expand Down

0 comments on commit df3fdeb

Please sign in to comment.