mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Calling processFolder method when adding ciphers on PsonoJsonImporter (#7984)
This commit is contained in:
@@ -230,10 +230,8 @@ describe("PSONO JSON Importer", () => {
|
||||
const result = await importer.parse(FoldersTestDataJson);
|
||||
expect(result != null).toBe(true);
|
||||
|
||||
const folders = result.folders;
|
||||
// // Check that ciphers have a folder assigned to them
|
||||
expect(result.ciphers.filter((c) => c.folderId === folders[0].id).length).toBeGreaterThan(0);
|
||||
expect(result.ciphers.filter((c) => c.folderId === folders[1].id).length).toBeGreaterThan(0);
|
||||
expect(result.ciphers.length).toEqual(result.folderRelationships.length);
|
||||
});
|
||||
|
||||
it("should create collections if part of an organization", async () => {
|
||||
|
||||
Reference in New Issue
Block a user