diff --git a/backend/src/services/certificate-est-v3/certificate-est-v3-service.test.ts b/backend/src/services/certificate-est-v3/certificate-est-v3-service.test.ts index 23b1a0d5f..b6408a986 100644 --- a/backend/src/services/certificate-est-v3/certificate-est-v3-service.test.ts +++ b/backend/src/services/certificate-est-v3/certificate-est-v3-service.test.ts @@ -524,7 +524,8 @@ describe("CertificateEstV3Service Security Fix", () => { expect(mockInternalCertificateAuthorityService.signCertFromCa).toHaveBeenCalledWith({ isInternal: true, caId: "ca-123", - csr: basicCSR + csr: basicCSR, + isFromProfile: true }); }); @@ -702,6 +703,7 @@ describe("CertificateEstV3Service Security Fix", () => { expect(mockInternalCertificateAuthorityService.signCertFromCa).toHaveBeenCalledWith({ isInternal: true, caId: "ca-123", + isFromProfile: true, csr: basicCSR }); });