From 2f1f8fc025efde6e70cf33fc5f8aad57b295344b Mon Sep 17 00:00:00 2001 From: jaasen-livefront Date: Tue, 2 Dec 2025 10:37:13 -0800 Subject: [PATCH] fix failing test --- .../password-depot/password-depot-17-xml-importer.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 2d52df37533..736d781baa4 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 @@ -1,7 +1,7 @@ // This import has been flagged as unallowed for this class. It may be involved in a circular dependency loop. // eslint-disable-next-line no-restricted-imports import { CollectionView } from "@bitwarden/admin-console/common"; -import { CollectionId, OrganizationId } from "@bitwarden/common/types/guid"; +import { OrganizationId } from "@bitwarden/common/types/guid"; import { FieldType, SecureNoteType } from "@bitwarden/common/vault/enums"; import { FolderView } from "@bitwarden/common/vault/models/view/folder.view"; import { CipherType } from "@bitwarden/sdk-internal"; @@ -63,7 +63,7 @@ describe("Password Depot 17 Xml Importer", () => { const result = await importer.parse(PasswordTestData); expect(result.folders).toEqual([ expect.objectContaining({ - id: null, + id: "", name: "tempDB", revisionDate: expect.any(Date), }), @@ -495,7 +495,7 @@ describe("Password Depot 17 Xml Importer", () => { const collection = new CollectionView({ name: "tempDB", organizationId: importer.organizationId, - id: "" as CollectionId, + id: null, }); const actual = [collection];