@@ -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) {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user