Add change database helper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -26,6 +26,7 @@ class BoardTest extends TestCase {
|
||||
'labels' => array(),
|
||||
'permissions' => [],
|
||||
'deletedAt' => 0,
|
||||
'lastModified' => 0,
|
||||
'acl' => array(),
|
||||
'archived' => false,
|
||||
'users' => ['user1', 'user2'],
|
||||
@@ -43,6 +44,7 @@ class BoardTest extends TestCase {
|
||||
'labels' => array("foo", "bar"),
|
||||
'permissions' => [],
|
||||
'deletedAt' => 0,
|
||||
'lastModified' => 0,
|
||||
'acl' => array(),
|
||||
'archived' => false,
|
||||
'users' => [],
|
||||
@@ -67,10 +69,11 @@ class BoardTest extends TestCase {
|
||||
'labels' => array(),
|
||||
'permissions' => [],
|
||||
'deletedAt' => 0,
|
||||
'lastModified' => 0,
|
||||
'acl' => array(),
|
||||
'archived' => false,
|
||||
'shared' => 1,
|
||||
'users' => [],
|
||||
], $board->jsonSerialize());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,8 @@ class StackTest extends \Test\TestCase {
|
||||
'title' => "My Stack",
|
||||
'order' => 1,
|
||||
'boardId' => 1,
|
||||
'deletedAt' => 0
|
||||
'deletedAt' => 0,
|
||||
'lastModified' => 0,
|
||||
], $board->jsonSerialize());
|
||||
}
|
||||
public function testJsonSerializeWithCards() {
|
||||
@@ -52,7 +53,8 @@ class StackTest extends \Test\TestCase {
|
||||
'order' => 1,
|
||||
'boardId' => 1,
|
||||
'cards' => array("foo", "bar"),
|
||||
'deletedAt' => 0
|
||||
'deletedAt' => 0,
|
||||
'lastModified' => 0,
|
||||
], $board->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user