diff --git a/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts b/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts index 1f14d05c51e..c92c55bf64f 100644 --- a/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts +++ b/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts @@ -59,10 +59,15 @@ describe("Password Depot 17 Xml Importer", () => { const importer = new PasswordDepot17XmlImporter(); const folder = new FolderView(); folder.name = "tempDB"; - const actual = [folder]; const result = await importer.parse(PasswordTestData); - expect(result.folders).toEqual(actual); + expect(result.folders).toEqual([ + expect.objectContaining({ + id: "", + name: "tempDB", + revisionDate: expect.any(Date), + }), + ]); }); it("should parse password type into logins", async () => { @@ -490,7 +495,7 @@ describe("Password Depot 17 Xml Importer", () => { const collection = new CollectionView({ name: "tempDB", organizationId: importer.organizationId, - id: null, + id: "", }); const actual = [collection];