tests: ignore version of stored json for import tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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']): string {
|
public static function writeArrayStructure(string $prefix = '', array $array = [], array $skipKeyList = ['id', 'boardId', 'cardId', 'stackId', 'ETag', 'permissions', 'shared', 'version']): string {
|
||||||
$output = '';
|
$output = '';
|
||||||
$arrayIsList = array_keys($array) === range(0, count($array) - 1);
|
$arrayIsList = array_keys($array) === range(0, count($array) - 1);
|
||||||
foreach ($array as $key => $value) {
|
foreach ($array as $key => $value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user