mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
b180463cc0
Added tests to import.service.spec.ts that test if the collectionRelationship and folderRelationship properly adapts
38 lines
1004 B
TypeScript
38 lines
1004 B
TypeScript
export const cipherWithCollections = `{
|
|
"encrypted": false,
|
|
"collections": [
|
|
{
|
|
"id": "8e3f5ba1-3e87-4ee8-8da9-b1180099ff9f",
|
|
"organizationId": "c6181652-66eb-4cd9-a7f2-b02a00e12352",
|
|
"name": "asdf",
|
|
"externalId": null
|
|
}
|
|
],
|
|
"items": [
|
|
{
|
|
"passwordHistory": null,
|
|
"revisionDate": "2024-02-16T09:20:48.383Z",
|
|
"creationDate": "2024-02-16T09:20:48.383Z",
|
|
"deletedDate": null,
|
|
"id": "f761a968-4b0f-4090-a568-b118009a07b5",
|
|
"organizationId": "c6181652-66eb-4cd9-a7f2-b02a00e12352",
|
|
"folderId": null,
|
|
"type": 1,
|
|
"reprompt": 0,
|
|
"name": "asdf123",
|
|
"notes": null,
|
|
"favorite": false,
|
|
"login": {
|
|
"fido2Credentials": [],
|
|
"uris": [],
|
|
"username": null,
|
|
"password": null,
|
|
"totp": null
|
|
},
|
|
"collectionIds": [
|
|
"8e3f5ba1-3e87-4ee8-8da9-b1180099ff9f"
|
|
]
|
|
}
|
|
]
|
|
}`;
|