fix syncDiff as public version used wrong directory path #701
Annotations
2 errors
tests/integration/backupRestore/restoreAfterClean.test.ts > restore command > Restore environment, clean environment, restore again:
tests/integration/backupRestore/utils/compare.ts#L83
AssertionError: expected [ { id: '-', …(8) }, …(24) ] to strictly equal [ { id: '-', …(8) }, …(13) ]
- Expected
+ Received
Array [
Object {
"codename": "full_item_1",
"collection": Object {
"id": "collection_2",
},
"external_id": "-",
"id": "-",
"last_modified": 1316-05-14T00:00:00.000Z,
"name": "Full item 1",
"sitemap_locations": Array [],
"spaces": Array [
Object {
"id": "space_2",
},
],
"type": Object {
"id": "type_with_all_elements_no_snippet__for_variants_",
},
},
Object {
+ "codename": "full_item_1",
+ "collection": Object {
+ "id": "collection_2",
+ },
+ "external_id": "-",
+ "id": "-",
+ "last_modified": 1316-05-14T00:00:00.000Z,
+ "name": "Full item 1",
+ "sitemap_locations": Array [],
+ "spaces": Array [
+ Object {
+ "id": "space_2",
+ },
+ ],
+ "type": Object {
+ "id": "type_with_all_elements_no_snippet__for_variants_",
+ },
+ },
+ Object {
+ "codename": "huge_item",
+ "collection": Object {
+ "id": "collection_1",
+ },
+ "external_id": "-",
+ "id": "-",
+ "last_modified": 1316-05-14T00:00:00.000Z,
+ "name": "Huge item",
+ "sitemap_locations": Array [],
+ "spaces": Array [
+ Object {
+ "id": "space_1",
+ },
+ ],
+ "type": Object {
+ "id": "type_with_all_elements",
+ },
+ },
+ Object {
"codename": "huge_item",
"collection": Object {
"id": "collection_1",
},
"external_id": "-",
"id": "-",
"last_modified": 1316-05-14T00:00:00.000Z,
"name": "Huge item",
"sitemap_locations": Array [],
"spaces": Array [
Object {
"id": "space_1",
},
],
"type": Object {
"id": "type_with_all_elements",
+ },
+ },
+ Object {
+ "codename": "matching_wf_type_and_collection",
+ "collection": Object {
+ "id": "default",
+ },
+ "external_id": "-",
+ "id": "-",
+ "last_modified": 1316-05-14T00:00:00.000Z,
+ "name": "Matching WF type and collection",
+ "sitemap_locations": Array [],
+ "spaces": Array [
+ Object {
+ "id": "space_2",
},
+ ],
+ "type": Object {
+ "id": "small_type_with_small_snippet",
+ },
},
Object {
"codename": "matching_wf_type_and_collection",
"collection": Object {
"id": "default",
},
"external_id": "-",
"id": "-",
"last_modified": 1316-05-14T00:00:00.000Z,
"name": "Matching WF type and collection",
"sitemap_locations": Array [],
"spaces": Array [
Object {
"id": "space_2",
},
],
"type": Object {
"id": "small_type_with_small_snippet",
},
},
Object {
"codename": "no_groups_item",
"collection": Object {
"id": "super_long_collection_nammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmesuper_long_collection_nammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
},
"external_id": "-",
"id": "-",
"last_modified": 1316-05-14T00:00:00.000Z,
"name": "No groups item",
"sitemap_locations": Array [],
"spaces": Array [],
"type": Object {
"id": "no_content_groups",
},
},
Object {
"codename": "non_localised_full_item_1",
"collection": Object {
"id": "collection_1",
},
"external_id": "-",
"id": "-",
"last_modified": 1316-05-14T00:00:00.000Z,
"name": "Non-localised Full Item 1",
"sitemap_locations": Array [],
"spaces": Array [
Object {
"id": "space_1",
},
],
"type": Object {
"id": "type_with_all_elements_non_localisable__variants__",
},
},
Object {
+ "codename": "non_localised_full_item_1",
+ "collection": Object {
+ "id": "collection_1",
+ },
+ "ext
|
build
Process completed with exit code 1.
|