diff --git a/tests/integration/import/ImportExportTest.php b/tests/integration/import/ImportExportTest.php index 7b159b7e9..e7d9cbdf1 100644 --- a/tests/integration/import/ImportExportTest.php +++ b/tests/integration/import/ImportExportTest.php @@ -133,7 +133,7 @@ class ImportExportTest extends \Test\TestCase { ); } - 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) { diff --git a/tests/unit/Db/CardTest.php b/tests/unit/Db/CardTest.php index 3a8851993..794255a46 100644 --- a/tests/unit/Db/CardTest.php +++ b/tests/unit/Db/CardTest.php @@ -41,7 +41,7 @@ class CardTest extends TestCase { $card->setOwner("admin"); $card->setOrder(12); $card->setArchived(false); - $card->setDone(false); + $card->setDone(null); // TODO: relation shared labels acl return $card; } @@ -88,7 +88,7 @@ class CardTest extends TestCase { 'commentsCount' => 0, 'lastEditor' => null, 'ETag' => $card->getETag(), - 'done' => false, + 'done' => null, ], (new CardDetails($card))->jsonSerialize()); } public function testJsonSerializeLabels() {