From 11509c9bc0a3314049d7f5bbd4b699ac4031ba3c Mon Sep 17 00:00:00 2001 From: Nik Gilmore Date: Wed, 28 Jan 2026 14:39:03 -0800 Subject: [PATCH] UPdate tests --- libs/common/src/vault/services/cipher.service.spec.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/common/src/vault/services/cipher.service.spec.ts b/libs/common/src/vault/services/cipher.service.spec.ts index b35a1573b06..d155c3b3642 100644 --- a/libs/common/src/vault/services/cipher.service.spec.ts +++ b/libs/common/src/vault/services/cipher.service.spec.ts @@ -1278,9 +1278,7 @@ describe("Cipher Service", () => { }); it("should use SDK to list organization ciphers when feature flag is enabled", async () => { - configService.getFeatureFlag - .calledWith(FeatureFlag.PM27632_SdkCipherCrudOperations) - .mockResolvedValue(true); + sdkCrudFeatureFlag$.next(true); const mockCipherView1 = new CipherView(); mockCipherView1.name = "Test Cipher 1"; @@ -1303,9 +1301,7 @@ describe("Cipher Service", () => { }); it("should use SDK with includeMemberItems=false when not provided", async () => { - configService.getFeatureFlag - .calledWith(FeatureFlag.PM27632_SdkCipherCrudOperations) - .mockResolvedValue(true); + sdkCrudFeatureFlag$.next(true); const sdkServiceSpy = jest .spyOn(cipherSdkService, "getAllFromApiForOrganization")